XML 55 R44.htm IDEA: XBRL DOCUMENT v3.21.2
Notes Payable, Preferred Stock and Stock Purchase Warrants - Term Notes Payable (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Jul. 31, 2019
USD ($)
$ / shares
Mar. 31, 2018
USD ($)
$ / shares
Jun. 30, 2021
USD ($)
shares
Dec. 31, 2020
USD ($)
Long term debt        
Loss on extinguishment of debt and issuance of debt     $ 3,183  
2023 Notes        
Long term debt        
Principal amount   $ 53,000 15,700 $ 15,700
Conversion rate (per $1,000 of principal)   294.1176    
Conversion price (in dollars per share) | $ / shares   $ 3.40    
Repurchase amount $ 37,000      
Amount of principal which is converted to shares   $ 1    
2025 Notes        
Long term debt        
Principal amount $ 82,000   51,199 $ 57,700
Conversion rate (per $1,000 of principal) 757.5758      
Conversion price (in dollars per share) | $ / shares $ 1.32      
Amount of principal which is converted to shares $ 1      
Original debt conversion amount     $ 6,500  
Debt converted, Shares issued | shares     4,924,998  
Loss on extinguishment of debt and issuance of debt     $ 3,183