Annual report pursuant to Section 13 and 15(d)

Convertible Senior Notes - Narrative (Details)

v3.22.4
Convertible Senior Notes - Narrative (Details)
1 Months Ended 6 Months Ended 12 Months Ended
Nov. 15, 2022
Aug. 31, 2022
USD ($)
Jan. 31, 2021
USD ($)
Apr. 30, 2020
USD ($)
May 31, 2018
USD ($)
trading_day
$ / shares
shares
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
option
Dec. 31, 2021
USD ($)
option
shares
Dec. 31, 2020
USD ($)
$ / shares
Debt Instrument [Line Items]                  
Loss (gain) on debt extinguishment             $ (4,192,000) $ 7,303,000 $ 2,466,000
Reduction to additional paid in capital               12,407,000 $ 3,236,000
Exercise price of warrants (USD per share) | $ / shares                 $ 1.50
Warrant derivative             (200,000) (500,000)  
Payments to unwind warrants               18,400,000  
Proceeds from unwinding convertible bond hedges             $ 200,000 $ 18,900,000  
Number of options under convertible bond hedges | option             370,219 598,021  
2023 Convertible Senior Notes | Convertible Notes                  
Debt Instrument [Line Items]                  
Principal amount of 2023 Notes outstanding         $ 750,000,000   $ 76,854,000 $ 343,301,000  
Interest on debt instrument (as a percent)         0.75%        
Net proceeds from debt issuance         $ 733,100,000        
Debt conversion price per share (USD per share) | $ / shares         $ 206.65        
Convertible debt conversion ratio 0.004893                
Debt issuance costs         $ 16,900,000        
Debt issuance costs related to the liability component of convertible debt         $ 13,700,000        
Effective rate (as a percent)             0.50%    
Amortization period             5 years    
Interest expense             $ 1,800,000    
Contractual interest expense             1,100,000    
Amortization issuance costs             700,000    
Repurchased amount of debt instrument     $ 20,300,000 $ 234,400,000     266,400,000 152,000,000  
Repayments of notes     19,100,000 203,800,000     261,400,000 156,000,000  
Accrued interest portion of repurchased amount of debt instrument     $ 100,000 $ 600,000   $ 400,000 500,000 300,000  
Loss (gain) on debt extinguishment             (4,200,000) 7,300,000  
Reduction in debt discount             1,300,000 13,700,000  
Reduction to additional paid in capital               10,200,000  
Outstanding principal amount of debt             $ 76,900,000 $ 343,300,000  
Warrants issued in public offering (shares) | shares         3,018,327     2,559,254  
Payments for convertible bond hedges         $ 140,300,000        
Exercise price of warrants (USD per share) | $ / shares         $ 315.38        
Warrant derivative         $ (90,000,000)        
2023 Convertible Senior Notes | Convertible Notes | Notes Repurchased During Current Period, Two                  
Debt Instrument [Line Items]                  
Repayments of notes   $ 223,700,000              
Repurchased amount   $ 227,800,000              
2023 Convertible Senior Notes | Convertible Notes | Maximum                  
Debt Instrument [Line Items]                  
Debt conversion price per share (USD per share) | $ / shares         $ 158.97        
Convertible debt conversion ratio 0.0062907                
2023 Convertible Senior Notes | Convertible Notes | Redemption Period One                  
Debt Instrument [Line Items]                  
Number of trading days | trading_day         20        
Number of consecutive trading days | trading_day         30        
Stock price trigger to classify convertible debt as current (as a percent)         130.00%        
2023 Convertible Senior Notes | Convertible Notes | Redemption Period Two                  
Debt Instrument [Line Items]                  
Number of trading days | trading_day         5        
Number of consecutive trading days | trading_day         10        
Maximum threshold of debt trading price trigger (as a percent)         98.00%