Annual report pursuant to Section 13 and 15(d)

NOTES PAYABLE (Details 4)

v3.20.4
NOTES PAYABLE (Details 4)
$ / shares in Units, $ in Thousands
12 Months Ended
Jul. 17, 2019
USD ($)
$ / shares
Dec. 31, 2019
USD ($)
$ / shares
Jul. 19, 2019
USD ($)
$ / shares
Jun. 19, 2019
$ / shares
Dec. 31, 2018
USD ($)
$ / shares
Sep. 27, 2018
$ / shares
Aug. 08, 2018
$ / shares
Feb. 27, 2018
$ / shares
Debt Instrument [Line Items]                
Stock price       $ 10.30   $ 11.10 $ 11.30 $ 11.40
Valuation Technique Binomial Monte-Carlo Cliquet Option Pricing Model [Member]                
Debt Instrument [Line Items]                
Stock price $ 7.02 $ 1.97 $ 6.86   $ 9.00      
Conversion feature liabilities (in thousands) | $ $ 132 $ 1 $ 6,336   $ 7,540      
Valuation Technique Binomial Monte-Carlo Cliquet Option Pricing Model [Member] | Measurement Input, Selected Yield [Member]                
Debt Instrument [Line Items]                
Selected yield 19.82 16.77            
Valuation Technique Binomial Monte-Carlo Cliquet Option Pricing Model [Member] | Measurement Input, Price Volatility [Member]                
Debt Instrument [Line Items]                
Selected yield 55.00 50.00 65.00   70.00      
Valuation Technique Binomial Monte-Carlo Cliquet Option Pricing Model [Member] | Measurement Input, Expected Term [Member]                
Debt Instrument [Line Items]                
Expected life (in years) 1 year 3 months 3 days 9 months 21 days 4 years 3 months 3 days   4 years 9 months 21 days      
Valuation Technique Binomial Monte-Carlo Cliquet Option Pricing Model [Member] | Measurement Input, Risk Free Interest Rate [Member]                
Debt Instrument [Line Items]                
Selected yield     1.79   2.51      
Risk-free rate Term structure Term structure