v3.25.4
INCOME (LOSS) PER SHARE - Schedule of Weighted-Average Potentially Dilutive Instruments (Details) - shares
12 Months Ended
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2023
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 12,678,437 11,060,389 10,845,238
Capped call transactions      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 642,544 3,081,088 3,376,400
Convertible senior notes due 2026      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 643,699 3,081,088 3,376,400
Convertible senior notes due 2027      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 4,102,466 750,438 0
Convertible Senior notes due 2030      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 2,233,491 0 0
Stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 3,062,500 3,062,500 2,477,793
RSUs      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 689,487 792,675 1,475,683
PSUs      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 1,294,473 280,807 110,823
ESPP      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Antidilutive securities excluded from computation of earnings per share (in shares) 9,777 11,793 28,139