XML 70 R57.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt - Schedule of Notes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Issuance Costs      
Amortization of debt discount and debt issuance costs $ 785 $ 847 $ 995
Long-term Debt, Unclassified [Abstract]      
Beginning balance 251,205    
Ending balance 205,272 251,205  
Senior Notes      
2025 Senior Notes      
Beginning balance 200,000    
Conversion (55,420)    
Ending balance 144,580 200,000  
Discount      
Beginning balance (39,537)    
Amortization of debt discount and debt issuance costs 6,639    
Conversion 10,151    
Ending balance (22,747) (39,537)  
Debt Issuance Costs      
Beginning balance (4,300)    
Amortization of debt discount and debt issuance costs 723    
Conversion 1,104    
Ending balance (2,473) (4,300)  
Long-term Debt, Unclassified [Abstract]      
Beginning balance 156,163    
Amortization of debt discount and debt issuance costs 7,362    
Conversion (44,165)    
Ending balance $ 119,360 $ 156,163