Net Income Per Share - Summary of Potentially Dilutive Securities (Detail) - shares shares in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Total potentially dilutive securities (in shares) | 1,588 | 571 | 847 |
| Common stock options | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Total potentially dilutive securities (in shares) | 998 | 0 | 161 |
| RSUs | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Total potentially dilutive securities (in shares) | 381 | 347 | 413 |
| ESPP obligations | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Total potentially dilutive securities (in shares) | 209 | 224 | 273 |