XML 90 R65.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt - Summary of Outstanding Note Balances (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 24, 2019
Debt Instrument [Line Items]        
Principal $ 207,000      
Less: debt discount and debt issuance costs, net (55,975)      
Net carrying amount 151,025      
Equity component 18,257      
Derivative liability-conversion Option 37      
Convertible Senior Secured Notes due 2024        
Debt Instrument [Line Items]        
Principal   $ 207,000    
Less: debt discount and debt issuance costs, net   (69,381)    
Net carrying amount   137,619    
Equity component   18,257    
Derivative liability-conversion Option   1,193   $ 59,400
Convertible Senior Notes due 2021        
Debt Instrument [Line Items]        
Principal $ 69,000 69,000 $ 69,000  
Less: debt discount and debt issuance costs, net   (1,029)    
Net carrying amount   67,971    
Equity component   $ 22,791