Net Income (Loss) Per Share - Schedule of Antidilutive Securities Excluded from Computation of Net (Income) Loss Per Share (Details) - shares shares in Thousands |
3 Months Ended | |
|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total common stock equivalents (in shares) | 4,429 | 16,711 |
| Shares related to stock plan activity | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total common stock equivalents (in shares) | 4,429 | 10,091 |
| Shares related to convertible senior notes | ||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
| Total common stock equivalents (in shares) | 0 | 6,620 |