Net Income (Loss) Per Share - Schedule of Shares Excluded from the Calculation of Diluted Net Income Per Share (Details) - shares shares in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Anti-dilutive securities excluded from computation of earnings per share (in shares) | 5,391 | 5,020 | 34,522 | 4,960 |
Stock-based compensation awards | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Anti-dilutive securities excluded from computation of earnings per share (in shares) | 5,391 | 5,020 | 11,649 | 4,960 |
Convertible senior notes | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Anti-dilutive securities excluded from computation of earnings per share (in shares) | 0 | 0 | 22,873 | 0 |