Stockholders' Equity - Outstanding and Reserved Shares of Common Stock for Future Issuance (Detail) - shares |
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|---|---|---|---|
| Class of Stock [Line Items] | |||
| Options outstanding (in shares) | 1,305,000 | 522,000 | 1,154,000 |
| Total reserved shares of common stock for future issuance (in shares) | 25,003,000 | ||
| 2012 Equity Incentive Plan | |||
| Class of Stock [Line Items] | |||
| Total reserved shares of common stock for future issuance (in shares) | 8,501,000 | ||
| 2012 Employee Stock Purchase Plan | |||
| Class of Stock [Line Items] | |||
| Total reserved shares of common stock for future issuance (in shares) | 9,389,000 | ||
| Common stock options | |||
| Class of Stock [Line Items] | |||
| Options outstanding (in shares) | 1,305,000 | ||
| RSUs | |||
| Class of Stock [Line Items] | |||
| RSUs (in shares) | 5,808,000 | 7,362,000 | 8,733,000 |