Annual report pursuant to Section 13 and 15(d)

NOTES PAYABLE (Details)

v3.21.2
NOTES PAYABLE (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2020
USD ($)
Equity_Instrument
$ / shares
Dec. 31, 2019
USD ($)
Equity_Instrument
Feb. 28, 2020
Debt Instrument [Line Items]      
Interest rate     10.00%
Conversion Price | $ / shares $ 10.00    
Principal Outstanding $ 15,294 $ 17,142  
Discount Amount 1,720 3,190  
Carrying Amount $ 13,574 $ 13,952  
Shares Underlying Notes | Equity_Instrument 320,353 1,444,291  
2013 Notes payable [Member]      
Debt Instrument [Line Items]      
Interest rate 10.00%    
Term of Notes Due on demand    
Principal Outstanding $ 969 $ 920  
Carrying Amount $ 969 920  
2019 Notes payable [Member]      
Debt Instrument [Line Items]      
Interest rate 11.00%    
Term of Notes Due on demand    
Principal Outstanding $ 2,899 2,829  
Carrying Amount $ 2,899 2,829  
2020 Notes payable [Member]      
Debt Instrument [Line Items]      
Interest rate 11.00%    
Term of Notes Due on demand    
Principal Outstanding $ 942    
Carrying Amount 942    
Notes Payable [Member]      
Debt Instrument [Line Items]      
Principal Outstanding 4,810 3,749  
Carrying Amount 4,810 3,749  
Principal Outstanding, Current 4,588 3,749  
Notes payable, current 4,588 3,749  
Principal Outstanding, Non Current 222    
Notes payable, non-current $ 222    
2016 Notes payable - related party [Member]      
Debt Instrument [Line Items]      
Term of Notes Due on demand    
Principal Outstanding $ 20 20  
Carrying Amount $ 20 20  
2016 Notes payable - related party [Member] | Minimum [Member]      
Debt Instrument [Line Items]      
Interest rate 10.00%    
2016 Notes payable - related party [Member] | Maximum [Member]      
Debt Instrument [Line Items]      
Interest rate 11.00%    
2018 Notes payable - related party [Member]      
Debt Instrument [Line Items]      
Interest rate 11.00%    
Term of Notes Due on demand    
Principal Outstanding   159  
Carrying Amount   159  
2019 Notes payable - related party [Member]      
Debt Instrument [Line Items]      
Interest rate 10.00%    
Term of Notes Due on demand    
Principal Outstanding $ 14 14  
Carrying Amount $ 14 14  
2020 Notes payable - related party [Member]      
Debt Instrument [Line Items]      
Interest rate 12.00%    
Term of Notes Due on demand    
Principal Outstanding $ 100    
Carrying Amount 100    
Notes payable - related party [Member]      
Debt Instrument [Line Items]      
Principal Outstanding 134 193  
Carrying Amount 134 193  
Principal Outstanding, Current 134 193  
Notes payable, current $ 134 $ 193