XML 45 R34.htm IDEA: XBRL DOCUMENT v3.8.0.1
DEBT - Schedule of Debt (Details) - USD ($)
$ in Thousands
Mar. 31, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Total debt $ 58,551 $ 57,012
Less short-term debt (25,657) (44)
Long-term debt, net of current portion 32,894 56,968
Line of credit    
Debt Instrument [Line Items]    
Total debt 25,634 25,081
Term loans    
Debt Instrument [Line Items]    
Total debt 32,842 31,830
Unamortized discount (premium) and debt issuance costs 889 1,058
Capital leases    
Debt Instrument [Line Items]    
Total debt 75 101
Convertible Promissory Notes    
Debt Instrument [Line Items]    
Total debt $ 0 $ 0