Quarterly report pursuant to Section 13 or 15(d)

Convertible Senior Notes - Narrative (Details)

v3.21.2
Convertible Senior Notes - Narrative (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Mar. 31, 2021
USD ($)
option
shares
May 31, 2018
USD ($)
d
$ / shares
shares
Jun. 30, 2021
USD ($)
Mar. 31, 2021
USD ($)
option
shares
Mar. 31, 2020
USD ($)
Jun. 30, 2021
USD ($)
Jun. 30, 2020
USD ($)
Dec. 31, 2020
USD ($)
Debt Instrument [Line Items]                
Loss on extinguishment of debt           $ 7,175,000 $ (659,000)  
Adjustments to additional paid in capital, equity component of convertible debt     $ 1,073,000 $ 9,086,000 $ 2,745,000      
Adjustments to additional paid-in-capital from warrants $ 400,000              
Payments to unwind warrants 16,500,000              
Proceeds from unwinding convertible bond hedges $ 16,900,000              
Number of options under convertible bond hedges | option 645,500     645,500        
Convertible Notes | 2023 Convertible Senior Notes                
Debt Instrument [Line Items]                
Aggregate principal amount outstanding   $ 750,000,000.0 345,729,000     345,729,000   $ 495,280,000
Interest rate (as a percent)   0.75%            
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     16,900,000    
Debt premium     13,700,000     13,700,000    
Repurchased amount of debt instrument $ 104,500,000   $ 149,600,000 $ 104,500,000   149,600,000    
Repayments of notes 109,100,000         153,700,000    
Accrued Interest $ 200,000         300,000    
Loss on extinguishment of debt           7,200,000    
Increase (decrease) in debt discount           13,500,000    
Adjustments to additional paid in capital, equity component of convertible debt           $ 10,200,000    
Warrants issued in public offering (shares) | shares 2,597,750 3,018,327   2,597,750        
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.0            
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%