Quarterly report pursuant to Section 13 or 15(d)

Debt (Details Textual)

v3.7.0.1
Debt (Details Textual) - USD ($)
3 Months Ended 12 Months Ended
Mar. 31, 2017
Mar. 31, 2016
Dec. 31, 2016
Sep. 30, 2016
Jan. 26, 2017
Dec. 31, 2015
May 29, 2015
Nov. 30, 2012
Nov. 08, 2012
Debt Instrument [Line Items]                  
Class of Warrant or Right, Number of Securities Called by Warrants or Rights         2,000,000        
Common Stock, Par or Stated Value Per Share $ 0.001   $ 0.001            
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 5.5138       $ 0.50     $ 5.51 $ 2.19
Derivative Liability $ 672,000 $ 124,000 $ 20,000     $ 861,000      
Amortization of Debt Discount (Premium) $ 204,000 198,000              
Warrant Expiration Period five-year warrant                
Common Stock Purchased By Warrants Issued 750,000                
Exit fee payment, Credit Agreement Description The Company is required to pay an exit fee when the term loan is paid in full equal to the greater of 2% of the outstanding principal balance immediately prior to the final payment or $200,000, which was amended in conjunction with the extinguishment of debt described below from the greater of 1% of the outstanding principal balance immediately prior to the final payment or $100,000.                
Revenues $ 4,594,000 3,957,000              
Long-term Debt, Gross 13,752,000   13,752,000            
Fair Value, Inputs, Level 3 [Member]                  
Debt Instrument [Line Items]                  
Derivative Liability 672,000   20,000            
Warrant [Member] | Fair Value, Inputs, Level 3 [Member]                  
Debt Instrument [Line Items]                  
Derivative Liability 2,700,000                
Interest Expense [Member]                  
Debt Instrument [Line Items]                  
Amortization of Financing Costs 64,000 72,000              
Amortization of Debt Discount (Premium) 140,000 $ 126,000              
Senior Secured Debt [Member]                  
Debt Instrument [Line Items]                  
Debt Instrument, Face Amount             $ 15,500,000    
Debt Issuance Costs1 $ 1,300,000                
Debt Instrument, Interest Rate Terms accrues interest at an annual rate equal to the greater of (a) one-month LIBOR or 1% plus (b) 9.75%                
Debt Instrument, Payment Terms is interest only for the first 24 months, followed by monthly amortization payments of $225,000, with the remaining unpaid balance due on the maturity date                
Debt Instrument, Maturity Date, Description The Company is required to pay an exit fee when the term loan is paid in full equal to the greater of 2% of the outstanding principal balance immediately prior to the final payment or $200,000,                
Debt Instrument, Interest Rate During Period 10.75%                
Long-term Debt, Gross $ 13,800,000                
Credit Agreement [Member]                  
Debt Instrument [Line Items]                  
Revenues $ 27,200,000   $ 24,600,000 $ 22,250,000