v3.21.2
Convertible Senior Notes - Bond Hedges and Warrant Transactions Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 9 Months Ended
May 31, 2021
Nov. 30, 2020
Feb. 28, 2018
Sep. 30, 2021
Sep. 30, 2020
Debt Instrument [Line Items]          
Payments for warrants related to convertible notes       $ 19,655 $ 0
Shares subject to warrants related to the issuance of the 2023 Notes | Convertible Debt          
Debt Instrument [Line Items]          
Number of bond hedges and warrants issued, subject to anti-dilution adjustments (in shares)       100,000  
Bond Hedge          
Debt Instrument [Line Items]          
Payments for hedge     $ (41,700)    
Bond Hedge | Shares subject to warrants related to the issuance of the 2023 Notes | Convertible Debt          
Debt Instrument [Line Items]          
Number of bond hedges and warrants issued, subject to anti-dilution adjustments (in shares) 100,000   900,000    
Conversion price (usd per share)       $ 57.38  
Number of securities called by warrants (in shares)   700,000      
Proceeds from Issuance of Warrants $ 26,300 $ 171,700      
Warrant Transaction          
Debt Instrument [Line Items]          
Number of bond hedges and warrants issued, subject to anti-dilution adjustments (in shares)     4,000,000    
Proceeds from Issuance of Warrants     $ 22,400    
Warrant strike price (usd per share)       $ 78.75  
Warrant Transaction | Shares subject to warrants related to the issuance of the 2023 Notes | Convertible Debt          
Debt Instrument [Line Items]          
Number of bond hedges and warrants issued, subject to anti-dilution adjustments (in shares) 600,000     200,000  
Proceeds from Issuance of Warrants $ 19,700 3,200      
Payments for warrants related to convertible notes   $ 137,500