Quarterly report pursuant to Section 13 or 15(d)

NOTES PAYABLE (Details)

v3.21.2
NOTES PAYABLE (Details)
$ in Thousands
9 Months Ended 12 Months Ended
Sep. 30, 2021
USD ($)
Equity_Instrument
Dec. 31, 2020
USD ($)
Equity_Instrument
Feb. 21, 2020
Debt Instrument [Line Items]      
Interest rate     10.00%
Principal Outstanding $ 22,809 $ 15,294  
Unamortized Discount 4,732 1,720  
Carrying Amount $ 18,077 $ 13,574  
Underlying Shares Notes | Equity_Instrument 10,122,974 3,946,723  
2013 Notes payable [Member]      
Debt Instrument [Line Items]      
Interest rate 10.00% 10.00%  
Term of Notes Due on demand Due on demand  
Principal Outstanding $ 895 $ 969  
Carrying Amount $ 895 $ 969  
2019 Notes payable [Member]      
Debt Instrument [Line Items]      
Interest rate   11.00%  
Term of Notes   Due on demand  
Principal Outstanding   $ 2,899  
Carrying Amount   2,899  
2020 Notes payable [Member]      
Debt Instrument [Line Items]      
Interest rate 1.00%    
Term of Notes 2 years    
Principal Outstanding $ 798 942  
Carrying Amount $ 798 $ 942  
2020 Notes payable [Member] | Minimum [Member]      
Debt Instrument [Line Items]      
Interest rate   1.00%  
Term of Notes   Due on demand  
2020 Notes payable [Member] | Maximum [Member]      
Debt Instrument [Line Items]      
Interest rate   11.00%  
Term of Notes   2 years  
2021 Notes payable [Member]      
Debt Instrument [Line Items]      
Interest rate 11.00%    
Principal Outstanding $ 3,076    
Carrying Amount $ 3,076    
2021 Notes payable [Member] | Minimum [Member]      
Debt Instrument [Line Items]      
Term of Notes Due on demand    
2021 Notes payable [Member] | Maximum [Member]      
Debt Instrument [Line Items]      
Term of Notes 2 years    
Notes Payable [Member]      
Debt Instrument [Line Items]      
Principal Outstanding $ 4,769 $ 4,810  
Carrying Amount 4,769 4,810  
Principal Outstanding, Current 3,269 4,588  
Notes payable, current 3,269 4,588  
Principal Outstanding, Non Current 1,500 222  
Notes payable, non-current $ 1,500 $ 222  
2020 Notes payable - related parties [Member]      
Debt Instrument [Line Items]      
Interest rate 12.00% 12.00%  
Term of Notes Due on demand Due on demand  
Principal Outstanding $ 100 $ 100  
Carrying Amount $ 100 $ 100  
2016 Notes payable - related parties [Member]      
Debt Instrument [Line Items]      
Interest rate   10.00%  
Term of Notes   Due on demand  
Principal Outstanding   $ 20  
Carrying Amount   $ 20  
2021 Notes payable - related parties [Member]      
Debt Instrument [Line Items]      
Interest rate 12.00%    
Term of Notes Due on demand    
Principal Outstanding $ 300    
Carrying Amount 300    
2019 Notes payable - related parties [Member]      
Debt Instrument [Line Items]      
Interest rate   10.00%  
Term of Notes   Due on demand  
Principal Outstanding   $ 14  
Carrying Amount   14  
Notes payable - related parties [Member]      
Debt Instrument [Line Items]      
Principal Outstanding 400 134  
Carrying Amount 400 134  
Principal Outstanding, Current 400 134  
Notes payable, current $ 400 $ 134