XML 73 R60.htm IDEA: XBRL DOCUMENT v3.22.0.1
Convertible Senior Notes - Schedule of Debt (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Oct. 05, 2020
Debt Instrument [Line Items]        
Amortization of debt discount and issuance costs $ 8,812 $ 2,143 $ 0  
Convertible notes | Convertible Senior Notes Due 2027        
Debt Instrument [Line Items]        
Principal amount of Notes 230,000 230,000    
Less: Unamortized debt discount and issuance costs (71,835) (80,647)   $ (82,800)
Net carrying amount 158,165 149,353    
Equity component — net carrying value 75,333 75,333    
Contractual coupon interest 8,811 1,600    
Amortization of debt discount and issuance costs 6,359 2,143    
Total interest expense $ 15,170 $ 3,743