Net Loss Per Share - Weighted-Average Anti-Dilutive Shares of Common Stock Excluded from the Calculation of Diluted Net Income (Loss) Per Share (Details) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Weighted-average anti-dilutive shares of common stock (in shares) | 55,883 | 68,471 |
| Outstanding stock options | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Weighted-average anti-dilutive shares of common stock (in shares) | 12,397 | 15,225 |
| Unvested restricted stock units and restricted stock awards | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Weighted-average anti-dilutive shares of common stock (in shares) | 43,486 | 53,246 |