Quarterly report pursuant to Section 13 or 15(d)

NOTES PAYABLE (Details)

v3.21.2
NOTES PAYABLE (Details)
$ / shares in Units, $ in Thousands
9 Months Ended 12 Months Ended
Sep. 30, 2020
USD ($)
Equity_Instrument
$ / shares
Dec. 31, 2019
USD ($)
Equity_Instrument
Sep. 22, 2020
Debt Instrument [Line Items]      
Interest rate     2.10%
Conversion Price | $ / shares $ 10.00    
Principal Outstanding $ 17,473 $ 17,142  
Discount Amount 2,491 3,190  
Carrying Amount $ 14,982 $ 13,952  
Shares Underlying Notes | Equity_Instrument 4,704,623 1,444,291  
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 $ 947 $ 920  
Carrying Amount $ 947 $ 920  
2019 Notes payable [Member]      
Debt Instrument [Line Items]      
Interest rate 11.00% 11.00%  
Principal Outstanding $ 2,867 $ 2,829  
Carrying Amount $ 2,867 $ 2,829  
2019 Notes payable [Member] | Minimum [Member]      
Debt Instrument [Line Items]      
Term of Notes Due on demand Due on demand  
2019 Notes payable [Member] | Maximum [Member]      
Debt Instrument [Line Items]      
Term of Notes 6 months 6 months  
2020 Notes payable [Member]      
Debt Instrument [Line Items]      
Principal Outstanding $ 993    
Carrying Amount $ 993    
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    
Notes Payable [Member]      
Debt Instrument [Line Items]      
Principal Outstanding $ 4,807 $ 3,749  
Carrying Amount 4,807 3,749  
Principal Outstanding, Current 4,452 3,749  
Notes payable, current 4,452 $ 3,749  
Principal Outstanding, Non Current 355    
Notes payable, non-current $ 355    
2016 Notes payable - related parties [Member]      
Debt Instrument [Line Items]      
Interest rate 10.00% 10.00%  
Term of Notes Due on demand Due on demand  
Principal Outstanding $ 20 $ 20  
Carrying Amount $ 20 $ 20  
2018 Notes payable - related parties [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 parties [Member]      
Debt Instrument [Line Items]      
Interest rate 10.00% 10.00%  
Term of Notes Due on demand Due on demand  
Principal Outstanding $ 14 $ 14  
Carrying Amount $ 14 14  
2020 Notes payable - related parties [Member]      
Debt Instrument [Line Items]      
Interest rate 12.00%    
Term of Notes Due on demand    
Principal Outstanding $ 782    
Carrying Amount 782    
Notes payable - related parties [Member]      
Debt Instrument [Line Items]      
Principal Outstanding 816 193  
Carrying Amount 816 193  
Principal Outstanding, Current 816 193  
Notes payable, current $ 816 $ 193