Quarterly report pursuant to Section 13 or 15(d)

Convertible Senior Notes - Narrative (Details)

v3.22.1
Convertible Senior Notes - Narrative (Details)
1 Months Ended 3 Months Ended 12 Months Ended
Jan. 31, 2021
USD ($)
May 31, 2018
USD ($)
d
$ / shares
shares
Mar. 31, 2022
USD ($)
Mar. 31, 2021
USD ($)
Dec. 31, 2021
USD ($)
option
shares
Debt Instrument [Line Items]          
Gain on extinguishment of debt     $ 1,532,000 $ (4,840,000)  
Adjustments to additional paid-in-capital from warrants         $ 500,000
Payments to unwind warrants         18,400,000
Proceeds from unwinding convertible bond hedges         $ 18,900,000
Number of options under convertible bond hedges | option         598,021
Convertible Notes | 2023 Convertible Senior Notes          
Debt Instrument [Line Items]          
Interest rate (as a percent)   0.75%      
Aggregate principal amount outstanding   $ 750,000,000 177,527,000   $ 343,301,000
Proceeds from debt, net of issuance costs   $ 733,100,000      
Initial conversion rate (shares per $1,000)   0.0040244      
Initial conversion price (USD per share) | $ / shares   $ 248.48      
Debt issuance costs     $ 16,900,000    
Term of debt instrument     5 years    
Effective interest rate (as a percent)     0.50%    
Total interest expense     $ 800,000    
Contractual interest expense     500,000    
Amortized issuance costs     300,000    
Repurchased amount of debt instrument $ 20,300,000   165,800,000   152,000,000
Repayments of notes 19,100,000   163,700,000   156,000,000
Accrued interest portion of repurchased amount of debt instrument $ 100,000   400,000   300,000
Outstanding principal amount of debt         $ 343,300,000
Gain on extinguishment of debt     1,500,000    
Increase (decrease) in debt discount     $ 900,000    
Warrants issued in public offering (shares) | shares   3,018,327     2,559,254
Payments for convertible bond hedges   $ 140,300,000      
Warrant exercise price (USD per share) | $ / shares   $ 315.38      
Adjustments to additional paid-in-capital from warrants   $ 90,000,000      
Accrued Interest         $ 300,000
Convertible Notes | 2023 Convertible Senior Notes | Maximum          
Debt Instrument [Line Items]          
Initial conversion rate (shares per $1,000)   0.0052317      
Initial conversion price (USD per share) | $ / shares   $ 191.14      
Convertible Notes | 2023 Convertible Senior Notes | Debt Instrument, Redemption, Period One          
Debt Instrument [Line Items]          
Threshold trading days | d   20      
Consecutive trading days | d   30      
Stock price trigger to classify convertible debt as current (as a percent)   130.00%      
Convertible Notes | 2023 Convertible Senior Notes | Debt Instrument, Redemption, Period Two          
Debt Instrument [Line Items]          
Threshold trading days | d   5      
Consecutive trading days | d   10      
Maximum threshold of debt trading price trigger (as a percent)   98.00%