v3.24.2.u1
EARNINGS PER SHARE - Schedule of antidilutive securities (Details) - shares
shares in Thousands
3 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Common stock options    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 58 99
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) 5,997 7,473
Common stock issuable pursuant to the 2018 ESPP    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities (in shares) 69 84