Annual report pursuant to Section 13 and 15(d)

Debt (Convertible Notes) (Details)

v3.24.0.1
Debt (Convertible Notes) (Details)
$ / shares in Units, shares in Millions
1 Months Ended 12 Months Ended
Jun. 01, 2023
USD ($)
Nov. 30, 2022
USD ($)
$ / shares
shares
Aug. 31, 2020
USD ($)
day
$ / shares
May 31, 2018
USD ($)
Dec. 31, 2023
USD ($)
shares
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Debt Instrument [Line Items]              
Purchase of Capped Call Transactions           $ (79,585,000)  
Additional Paid-in Capital              
Debt Instrument [Line Items]              
Purchase of Capped Call Transactions         $ (79,600,000) (79,585,000)  
Convertible Notes Payable              
Debt Instrument [Line Items]              
Unamortized Issuance Costs         (15,888,000) (20,845,000)  
Convertible Notes due 2023              
Debt Instrument [Line Items]              
Repurchase of convertible debt         0 312,422,000 $ 0
Gain (loss) on extinguishment of debt         0 (13,421,000) 0
Convertible Notes due 2023 | Convertible Notes Payable              
Debt Instrument [Line Items]              
Face amount       $ 345,000,000      
Interest rate (as a percent)       1.75%      
Repurchase amount   $ 300,000,000          
Repurchase of convertible debt $ 45,000,000 312,400,000          
Gain (loss) on extinguishment of debt   (13,400,000)          
Convertible Notes due 2025              
Debt Instrument [Line Items]              
Conversion rate (in shares)       0.0093682      
Repurchase of convertible debt         0 181,772,000 0
Gain (loss) on extinguishment of debt         $ 0 $ 15,089,000 $ 0
Convertible Notes due 2025 | Convertible Notes Payable              
Debt Instrument [Line Items]              
Face amount     $ 517,500,000        
Interest rate (as a percent)     0.75%        
Repurchase percentage of principal (as a percent)     100.00%        
Threshold percentage of stock price trigger (as a percent)     130.00%        
Threshold trading days | day     20        
Consecutive trading days | day     30        
Threshold consecutive trading-day period     5 days        
Conversion price (in dollars per share) | $ / shares     $ 106.74        
Repurchase amount   200,000,000          
Repurchase of convertible debt   181,800,000          
Gain (loss) on extinguishment of debt   $ 15,100,000          
Shares Issuable(in shares) | shares         3.0    
Threshold business days     5 days        
Threshold percentage of trading price trigger (as a percent)     98.00%        
Convertible Notes due 2027              
Debt Instrument [Line Items]              
Conversion rate (in shares)   0.0136304          
Convertible Notes due 2027 | Convertible Notes Payable              
Debt Instrument [Line Items]              
Face amount   $ 575,000,000          
Interest rate (as a percent)   2.625%          
Conversion price (in dollars per share) | $ / shares   $ 73.37 $ 73.37        
Conversion price, cap (in dollars per share) | $ / shares   $ 110.74          
Shares converted (in shares) | shares   7.8