Net Loss per Share - Summary of Shares Outstanding that were Excluded from Calculation of Diluted Net Loss Per Share (Detail) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2023 |
Mar. 31, 2022 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 19,145 | 21,264 |
| Convertible Notes [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 2,379 | 4,865 |
| Common Stock Options [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 12,002 | 13,329 |
| Restricted Stock Units [Member] | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Antidilutive securities excluded from computation of earnings per share, amount | 4,764 | 3,070 |