XML 35 R22.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt (Details Narrative) - USD ($)
$ in Thousands
1 Months Ended 6 Months Ended
Apr. 30, 2015
Nov. 30, 2017
Jun. 30, 2018
Dec. 31, 2017
May 31, 2013
Current portion of long-term debt     $ 2,210 $ 5,059  
Long-term debt     2,510 $ 8  
Debt issuance costs     59    
Facility fee     45    
Unamortized debt issuance cost     40    
First Line Of Credit [Member]          
Line of credit principal and interest payments due     $ 1,000    
Line of credit, installment term     36 months    
Second Line Of Credit [Member]          
Line of credit principal and interest payments due     $ 1,000    
Line of credit, installment term     35 months    
Equipment Notes Payable [Member]          
Maximum borrowing capacity     $ 9,690    
Line of credit interest rate     Each tranche borrowed through August 2015 incurred interest at 8.32% per annum; the interest for tranches borrowed thereafter was reduced to rates between 7.32% to 8.05% per annum.    
Line of credit facility interest rate     24.00%    
Credit Facility [Member]          
Debt instrument outstanding amount     $ 4,500    
Current portion of long-term debt     1,950    
Long-term debt     2,550    
Amended and Restated Loan and Security Agreement [Member]          
Term loan   $ 4,500      
Debt instrument maturity date   Nov. 29, 2020      
Financing Arrangement [Member] | Equipment Notes Payable [Member]          
Debt instrument outstanding amount     $ 260    
Maximum borrowing capacity         $ 500
Loan Agreement with EWB [Member] | Equipment Notes Payable [Member]          
Amount borrowed during period $ 3,381