Net Income (Loss) Per Share - Narrative (Details) - shares shares in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Employee Stock Option | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 0.1 | 0.3 | 0.1 | 0.4 |
| RSUs | ||||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 2.5 | 0.3 | 1.7 | 0.5 |