Annual report pursuant to Section 13 and 15(d)

Long Term Debt - Debt and Maturities (Details)

v3.8.0.1
Long Term Debt - Debt and Maturities (Details) - USD ($)
$ in Thousands
Dec. 31, 2017
Dec. 31, 2016
Debt Instrument [Line Items]    
Long-term debt $ 14,063 $ 17,156
Current portion of long-term debt (3,241) (3,154)
Less: Discounts on warrants, net (654) (835)
Less: Debt Issuance Costs (53) (68)
Long-term debt, net of current portion 10,115 13,099
Future minimum loan payments:    
2018 3,241  
2019 3,197  
2020 1,268  
2021 6,357  
2022 0  
Total 14,063 17,156
Business Loan and Security Agreement    
Debt Instrument [Line Items]    
Long-term debt 62 0
Future minimum loan payments:    
Total 62 0
Medium-term Notes | Term Loan Agreements    
Debt Instrument [Line Items]    
Long-term debt 6,657 13,099
Future minimum loan payments:    
Total 6,657 13,099
Construction Loans | Equipment Financing Agreements    
Debt Instrument [Line Items]    
Long-term debt 1,094 1,421
Future minimum loan payments:    
Total 1,094 1,421
Unsecured Debt | Promissory notes    
Debt Instrument [Line Items]    
Long-term debt 6,250 6,250
Future minimum loan payments:    
Total $ 6,250 $ 6,250