Quarterly report pursuant to Section 13 or 15(d)

Debt (Details Textual)

v3.8.0.1
Debt (Details Textual) - USD ($)
1 Months Ended 3 Months Ended 12 Months Ended
Mar. 13, 2018
May 29, 2015
Mar. 31, 2018
Mar. 31, 2017
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Jun. 01, 2017
Dec. 31, 2016
Debt Instrument [Line Items]                    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                 210,000  
Common Stock, Par or Stated Value Per Share     $ 0.001   $ 0.001          
Class of Warrant or Right, Exercise Price of Warrants or Rights     $ 55.138           $ 4.70  
Derivative Liability     $ 149,000 $ 672,000 $ 130,000     $ 672,000   $ 20,000
Amortization of Debt Discount (Premium)     $ 190,000 204,000            
Debt Instrument, Term     4 years              
Warrant Expiration Period     five-year warrant              
Common Stock Purchased By Warrants Issued     75,000              
Debt Instrument Prepayment Terms         is interest only until June 30, 2017, followed by monthly amortization payments of $225,000, with the remaining unpaid balance due on the maturity date           
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 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. The interest rate at March 31, 2018 was 11.4375%.              
Revenues     $ 5,381,000 4,125,000 $ 37,800,000 $ 33,800,000 $ 30,300,000 $ 27,200,000    
Bridge Loan [Member]                    
Debt Instrument [Line Items]                    
Debt Instrument, Face Amount $ 2,000,000                  
Debt Instrument, Interest Rate Terms The BLN bears interest at a rate per annum equal to the sum of (i) the greater of (x) LIBOR and (y) 1%, plus (ii) an applicable margin of 9.75%.                  
Debt Instrument, Maturity Date May 04, 2018                  
Upfront Fee Payable $ 250,000                  
Fair Value, Inputs, Level 3 [Member]                    
Debt Instrument [Line Items]                    
Derivative Liability     149,000   $ 130,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     57,000 64,000            
Amortization of Debt Discount (Premium)     134,000 $ 140,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, 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.                
Debt Instrument, Interest Rate During Period     11.4375%              
Debt Instrument, Debt Default, Amount     $ 2,000,000