Quarterly report pursuant to Section 13 or 15(d)

Debt - Schedule of Notes (Details)

v3.21.2
Debt - Schedule of Notes (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Debt Issuance Cost    
Amortization of debt discount and debt issuance costs $ 424 $ 411
Total    
Beginning balance 251,205  
Ending balance 205,676  
Senior Notes    
2025 Senior Notes    
Beginning balance 200,000  
Conversion (55,420)  
Ending balance 144,580  
Discount    
Beginning balance (39,537)  
Amortization of debt discount and debt issuance costs 3,617  
Conversion 10,151  
Ending balance (25,769)  
Debt Issuance Cost    
Beginning balance (4,300)  
Amortization of debt discount and debt issuance costs 394  
Conversion 1,104  
Ending balance (2,802)  
Total    
Beginning balance 156,163  
Amortization of debt discount and debt issuance costs 4,011  
Conversion (44,165)  
Ending balance $ 116,009