EARNINGS PER SHARE - Schedule of antidilutive securities (Details) - shares shares in Thousands |
3 Months Ended | |
---|---|---|
Mar. 31, 2025 |
Mar. 31, 2024 |
|
Common stock options | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Antidilutive securities (in shares) | 50 | 59 |
2020 Convertible Senior Notes, net | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Antidilutive securities (in shares) | 541 | 2,701 |
2024 Convertible Senior Notes, net | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Antidilutive securities (in shares) | 9,573 | 0 |
Unvested restricted stock units | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Antidilutive securities (in shares) | 6,317 | 6,769 |
Common stock issuable pursuant to the 2018 ESPP | ||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||
Antidilutive securities (in shares) | 326 | 171 |