Quarterly report pursuant to Section 13 or 15(d)

NOTES PAYABLE (Details)

v3.21.2
NOTES PAYABLE (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2020
USD ($)
Equity_Instrument
$ / shares
Dec. 31, 2019
USD ($)
Equity_Instrument
Debt Instrument [Line Items]    
Conversion Price | $ / shares $ 10.00  
Principal Outstanding $ 16,338 $ 17,142
Discount Amount 2,406 3,190
Carrying Amount $ 13,932 $ 13,952
Shares Underlying Notes | Equity_Instrument 4,954,800 1,444,291
2013 Notes payable [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00% 10.00%
Term of Notes Due on demand  
Principal Outstanding $ 925 $ 920
Carrying Amount $ 925 $ 920
2019 Notes payable [Member]    
Debt Instrument [Line Items]    
Interest rate 11.00% 11.00%
Principal Outstanding $ 2,835 $ 2,829
Carrying Amount $ 2,835 2,829
2019 Notes payable [Member] | Minimum [Member]    
Debt Instrument [Line Items]    
Term of Notes Due on demand  
2019 Notes payable [Member] | Maximum [Member]    
Debt Instrument [Line Items]    
Term of Notes 6 months  
2020 Notes payable [Member]    
Debt Instrument [Line Items]    
Interest rate 11.00%  
Term of Notes Due on demand  
Principal Outstanding $ 194  
Carrying Amount 194  
Notes Payable [Member]    
Debt Instrument [Line Items]    
Principal Outstanding 3,954 3,749
Carrying Amount 3,954 3,749
Principal Outstanding, Current 3,954 3,749
Notes payable, current $ 3,954 $ 3,749
2016 Notes payable - related parties [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00% 10.00%
Term of Notes 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  
Principal Outstanding $ 14 $ 14
Carrying Amount 14 14
Notes payable - related parties [Member]    
Debt Instrument [Line Items]    
Principal Outstanding 34 193
Carrying Amount 34 193
Principal Outstanding, Current 34 193
Notes payable, current $ 34 $ 193