XML 101 R79.htm IDEA: XBRL DOCUMENT v3.25.0.1
DEBT - Convertible senior notes and capped calls (Details)
1 Months Ended 12 Months Ended 22 Months Ended
Feb. 29, 2020
USD ($)
day
$ / shares
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2024
consecutiveTradingDay
tradingDay
Debt Instrument [Line Items]          
Gain (loss) on repurchase of convertible debt | $   $ 459,000 $ 7,855,000 $ 0  
Redemption percentage   100.00%      
On or after March 1, 2023          
Debt Instrument [Line Items]          
Redemption threshold trading days | tradingDay         40
Redemption percentage         100.00%
Convertible debt          
Debt Instrument [Line Items]          
Face amount | $ $ 600,000,000        
Interest rate 0.75% 0.75% 0.75%    
Gain (loss) on repurchase of convertible debt | $   $ 500,000 $ 7,900,000    
Principal amount repurchased | $   $ 34,400,000 $ 97,700,000    
Initial conversion rate   0.0074045      
Initial conversion price (in dollars per share) | $ / shares $ 135.05        
Average interest rate   1.20% 1.20%    
Convertible debt | After the calendar quarter ending on June 30, 2020          
Debt Instrument [Line Items]          
Threshold percentage of stock price trigger 130.00%        
Threshold trading days | day 20        
Threshold consecutive trading days | day 30        
Convertible debt | Measurement period          
Debt Instrument [Line Items]          
Threshold percentage of stock price trigger 98.00%        
Threshold consecutive trading days | day 5        
Threshold consecutive business days | day 5        
Convertible debt | On or after March 1, 2023          
Debt Instrument [Line Items]          
Threshold percentage of stock price trigger         130.00%
Threshold trading days | tradingDay         20
Threshold consecutive trading days | consecutiveTradingDay         30