Annual report pursuant to Section 13 and 15(d)

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

v3.8.0.1
LONG-TERM DEBT, SUBSEQUENT EVENT AND COMMON STOCK WARRANT LIABILITY - Common Stock Warrant Liability Narrative (Details) - USD ($)
$ / shares in Units, $ in Thousands
8 Months Ended 12 Months Ended
May 13, 2016
Dec. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Class of Warrant or Right [Line Items]        
Warrants, fair value at issuance   $ 1,117 $ 2,689 $ 1,117
Change in fair value of stock warrants     $ 1,379 $ 543
Expected contractual term     3 years 10 months 1 day 3 years 4 months 17 days
Expected volatility rate     47.55% 47.68%
Expected dividend yield     0.00% 0.00%
Expected risk-free interest rate     2.10% 1.68%
Line of Credit | Second Lien Credit Agreement | Warrant to Purchase Common Equity        
Class of Warrant or Right [Line Items]        
Warrants issued (in shares) 1,006,568      
Warrants granted as a percent of outstanding common equity 5.00%      
Warrant exercise price (in USD per share) $ 1.67      
Warrants, period for measuring warrant exercise price 60 days      
Warrants, period for mandatory registration rights 2 years      
Warrants, redemption rights, decrease in aggregate principal balance on second lien facility 50.00%      
Warrant, redemption rights, period for measuring repurchase value 21 days      
Warrants, fair value at issuance $ 600      
Line of credit, expected term     3 years 6 months  
Change in fair value of stock warrants   $ 500 $ 1,400  
Unsecured Debt | Second Lien Credit Agreement | Warrant to Purchase Common Equity        
Class of Warrant or Right [Line Items]        
Term 4 years      
Interest rate 13.25%