XML 81 R72.htm IDEA: XBRL DOCUMENT v3.22.1
Convertible Senior Notes - Repurchase of a Portion of the Series A Notes (Details)
$ in Thousands
1 Months Ended 3 Months Ended
May 24, 2018
USD ($)
Jun. 30, 2020
USD ($)
May 31, 2018
USD ($)
Mar. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Debt Instrument [Line Items]          
Loss on repurchase of convertible senior notes   $ 0      
Convertible Senior Notes          
Debt Instrument [Line Items]          
Remaining discount and issuance cost, weighted average amortization period       2 months 12 days  
Series A Notes | Convertible Senior Notes          
Debt Instrument [Line Items]          
Repurchase of convertible senior notes     $ 330,400    
Repurchased principal amount of debt $ 340,200 96,400 340,200    
Equity component of debt, subsequent adjustments     13,000    
Remaining expected life 2 years        
Loss on repurchase of convertible senior notes     $ 10,800    
Extinguishment of debt, amount   $ 96,400      
Debt amount outstanding       $ 23,436 $ 23,436
Series A Notes | Convertible Senior Notes | Measurement Input, Discount Rate          
Debt Instrument [Line Items]          
Measurement input     0.045    
Series A Notes | Convertible Senior Notes | Convertible senior notes          
Debt Instrument [Line Items]          
Repurchase of convertible senior notes     $ 317,400