RSUs are withheld at Federal bonus rates, which seemed pretty reasonable (it's 25% until your total taxable comp from an employer hits $1M in the tax year, and then it jumps to 39.6%); and California equity statutory rates, which is the second to top marginal rate, which works out right, unless you made enough to pay the mental health tax.
Although, given that state tax isn't deductible anymore, perhaps 25% isn't nearly enough at the federal level anymore?
Realistically, since the standard deduction is way more than SALT deduction plus the maximum mortgage deduction, few people are going to end up deducting those, unless they've made a lot of charitable contributions or had a lot of medical expenses in a given year.
The analysis of 2018 tax return trends is going to be very interesting.
If the share price falls over the lockup period, employees end up owing tax at a share price higher than they are able to sell. Some of that is usually offset by the company withholding some of the released shares for taxes, but the current withholding rate is substantially under most engineers' marginal tax bracket. It amounts to a ~10% extra tax penalty on the share decline.