Annual report pursuant to Section 13 and 15(d)

Debt (Convertible Notes) (Details)

v3.22.4
Debt (Convertible Notes) (Details)
$ / shares in Units, shares in Millions
1 Months Ended 12 Months Ended
Nov. 30, 2022
USD ($)
segment
$ / shares
shares
Aug. 31, 2020
USD ($)
day
$ / shares
May 31, 2018
USD ($)
day
$ / shares
Dec. 31, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2018
USD ($)
Debt Instrument [Line Items]              
Accretion of debt discount       $ 0 $ 0 $ 14,084,000  
Convertible Notes due 2023              
Debt Instrument [Line Items]              
Face amount     $ 345,000,000        
Interest rate (as a percent)     1.75%        
Conversion rate (in shares)     0.0146381        
Conversion price (in dollars per share) | $ / shares       $ 68.31      
Repurchase amount $ 300,000,000            
Repurchase of convertible debt       $ 312,422,000 0 0  
Gain (loss) on extinguishment of debt       (13,421,000) 0 0  
Convertible Notes due 2023 | Carrying Value              
Debt Instrument [Line Items]              
Long-term debt       44,900,000 342,000,000    
Convertible Notes due 2023 | Convertible Notes Payable              
Debt Instrument [Line Items]              
Face amount     $ 345,000,000 45,000,000 345,000,000    
Net proceeds from offering     $ 335,000,000        
Interest rate (as a percent)     1.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     $ 68.31        
Allocated to equity components     $ 46,600,000        
Offering costs     1,400,000        
Discount     48,000,000        
Accretion of debt discount       0 0 9,400,000  
Debt issuance costs, gross             $ 10,000,000
Debt issuance costs     $ 8,600,000        
Repurchase amount       300,000,000      
Repurchase of convertible debt 312,400,000            
Gain (loss) on extinguishment of debt (13,400,000)            
Unamortized debt issuance expense       $ 114,000 2,979,000    
Shares Issuable(in shares) | shares       0.7      
Convertible Notes due 2025              
Debt Instrument [Line Items]              
Conversion rate (in shares)     0.0093682        
Conversion price (in dollars per share) | $ / shares       $ 106.74      
Repurchase amount 200,000,000            
Repurchase of convertible debt       $ 181,772,000 0 0  
Gain (loss) on extinguishment of debt       15,089,000 0 0  
Convertible Notes due 2025 | Carrying Value              
Debt Instrument [Line Items]              
Long-term debt       312,700,000 506,800,000    
Convertible Notes due 2025 | Convertible Notes Payable              
Debt Instrument [Line Items]              
Face amount   $ 517,500,000   317,500,000 517,500,000    
Net proceeds from offering   $ 503,000,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          
Allocated to equity components   $ 61,900,000          
Offering costs   1,900,000          
Discount   $ 70,600,000          
Accretion of debt discount       0 0 4,700,000  
Debt issuance costs           12,600,000  
Repurchase amount 200,000,000            
Repurchase of convertible debt 181,800,000            
Gain (loss) on extinguishment of debt $ 15,100,000            
Unamortized debt issuance expense       $ 4,765,000 10,659,000    
Shares Issuable(in shares) | shares       3.0      
Threshold business days   5 days          
Threshold percentage of trading price trigger (as a percent)   98.00%          
Taxes   $ 6,700,000          
Issuance costs           $ 14,500,000  
Convertible Notes due 2027              
Debt Instrument [Line Items]              
Conversion rate (in shares) 0.0136304            
Convertible Notes due 2027 | Carrying Value              
Debt Instrument [Line Items]              
Long-term debt       $ 559,000,000      
Convertible Notes due 2027 | Convertible Notes Payable              
Debt Instrument [Line Items]              
Face amount $ 575,000,000     575,000,000 0    
Net proceeds from offering $ 558,700,000            
Interest rate (as a percent) 2.625%            
Repurchase percentage of principal (as a percent) 100.00%            
Threshold percentage of stock price trigger (as a percent) 130.00%            
Threshold trading days | segment 20            
Consecutive trading days | segment 30            
Threshold consecutive trading-day period 5 days            
Conversion price, cap (in dollars per share) | $ / shares $ 110.74            
Conversion price (in dollars per share) | $ / shares $ 73.37            
Debt issuance costs, gross $ 16,300,000            
Unamortized debt issuance expense       $ 15,966,000 $ 0    
Shares converted (in shares) | shares 7.8            
Threshold business days 5 days            
Threshold percentage of trading price trigger (as a percent) 98.00%