v3.22.1
Long-term Notes and Convertible Notes - B3D Senior Secured Loan (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Mar. 06, 2020
Jan. 09, 2020
Mar. 31, 2020
Jun. 30, 2020
Dec. 31, 2021
Dec. 31, 2020
Mar. 19, 2020
Mar. 05, 2020
Jan. 08, 2020
Jul. 08, 2019
Amortization expense           $ 128        
Conversion price $ 1.68           $ 0.525      
Debt outstanding         $ 3,584 5,653        
Loss on the extinguishment of debt           (182)        
Shares issued on conversion of debt       2,913,197            
Current portion of promissory note, unsecured         3,584 3,298        
Accretion expense           1,125        
Credit agreement with B3D, LLC                    
Debt instrument, face amount $ 7,900 $ 7,150           $ 7,150 $ 7,000  
Increase in principal and interest accrued of debt 750 $ 150                
Issuance of common shares to pay interest on borrowings   97,223                
Debt fee capitalized   $ 150                
Increase in principle portion 500                  
Increase due to accrued interest $ 250                  
Conversion price $ 1.68           $ 0.525 $ 6.00    
Extinguishment of debt, net     $ 4,829              
Unamortized debt discount on extinguishment of debt     1,845              
Unamortized debt issuance cost on extinguishment of debt     $ 476              
B3D Note [Member]                    
Amortization expense           98        
Derivative liability           $ 15,395        
Conversion price     $ 1.68     $ 0.525        
Principal amount of debt converted           $ 7,900        
Write off of deferred debt issuance cost           $ 3,156        
Shares issued on conversion of debt           13,934,525        
Loss on derivative liability           $ 11,990        
Accretion expense           884        
Extinguishment of derivative liability     $ 2,048              
B3D Note [Member] | Credit agreement with B3D, LLC                    
Debt outstanding $ 3,994                  
Unamortized cost 3,656                  
Deferred finance costs 250                  
Derivative liability $ 3,656                  
Loss on the extinguishment of debt           $ 273        
Calm Note, net                    
Debt instrument, face amount                   $ 2,500
Amortization expense         30          
Conversion price           $ 0.525       $ 6.00
Deferred finance costs                   $ 1,369
Principal amount of debt converted           $ 2,500        
Write off of deferred debt discount cost           947        
Write off of deferred debt issuance cost           $ 154        
Shares issued on conversion of debt           4,761,906        
Loss on derivative liability           $ 8,985        
Accretion expense         $ 187