Annual report pursuant to Section 13 and 15(d)

LONG-TERM DEBT AND COMMON STOCK WARRANT LIABILITY - Common Stock Warrant Liability (Details)

v3.20.1
LONG-TERM DEBT AND COMMON STOCK WARRANT LIABILITY - Common Stock Warrant Liability (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
May 13, 2016
$ / shares
shares
Dec. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Class of Warrant or Right [Line Items]        
Expected contractual term   6 years 4 months 13 days   7 years 4 months 13 days
Fair Value Adjustment of Warrants   $ 1,230 $ (1,671)  
Price volatility rate        
Class of Warrant or Right [Line Items]        
Expected stock rate   0.4687   0.4326
Expected dividend rate        
Class of Warrant or Right [Line Items]        
Expected stock rate   0   0
Risk free interest rate        
Class of Warrant or Right [Line Items]        
Expected stock rate   0.0179   0.0264
Line of Credit | Second Lien Credit Agreement | Warrant to Purchase Common Equity        
Class of Warrant or Right [Line Items]        
Warrants issued (in shares) | shares 1,006,568      
Warrant exercise price (in dollars per share) | $ / shares $ 1.67      
Warrants, period for measuring warrant exercise price 60 days      
Warrants, period for mandatory registration rights 2 years      
Period for measuring repurchase value 21 days      
Fair Value Adjustment of Warrants     $ (1,200) $ 1,700
Unsecured Debt | Second Lien Credit Agreement | Warrant to Purchase Common Equity        
Class of Warrant or Right [Line Items]        
Term of unsecured note 4 years      
Interest rate on unsecured note 13.25%