Annual report pursuant to Section 13 and 15(d)

Long-Term Debt (Details Textual)

Long-Term Debt (Details Textual) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2016
Jan. 31, 2017
Dec. 30, 2016
Dec. 31, 2015
Dec. 31, 2014
Dec. 31, 2013
Success Fee Expenses $ 250          
Share Price $ 8.00          
Contingent Success Fee Liability $ 116          
Debt Instrument, Interest Rate, Stated Percentage 6.27%          
Cash and Cash Equivalents, at Carrying Value, Total $ 16,846     $ 19,552 $ 25,190 $ 805
Subsequent Event [Member]            
Restricted Cash and Cash Equivalents   $ 6,026        
Loan Agreement [Member]            
Line of Credit Facility, Maximum Borrowing Capacity     $ 10,000      
Maximum Cash Proceeds On stock Issuance Required For Loan Disbursement $ 15,000          
Debt Instrument, Description of Variable Rate Basis 30 day U.S. LIBOR rate plus 5.41%.          
Debt Instrument, Basis Spread on Variable Rate 5.41%          
Principal Percentage Due On Maturity 3.50%          
Debt Instrument, Maturity Date Jan. 01, 2021          
Debt Instrument Prepayment Fee Percentage 1.00%          
Debt Instrument, Debt Default, Description of Violation or Event of Default Events of default which may cause repayment of the Term Loans to be accelerated include, among other customary events of default, (1) non-payment of any obligation when due, (2) the Company’s failure to comply with its affirmative and negative covenants, (3) the Company’s failure to perform any other obligation required under the Loan Agreement and to cure such default within a 30 days after becoming aware of such failure, (4) the occurrence of a Material Adverse Effect, (5) the attachment or seizure of a material portion of the Company’s assets if such attachment or seizure is not released, discharged or rescinded within 10 days, (6) bankruptcy or insolvency of the Company, (7) default by the Company under any agreement (i) resulting in a right by a third party to accelerate indebtedness in an amount in excess of $250 or (ii) that would reasonably be expected to have a Material Adverse Effect, (8) entry of a final, uninsured judgment or judgments against the Borrower for the payment of money in an amount, individually or in the aggregate, of at least $250, or (9) any material misrepresentation or material misstatement with respect to any warranty or representation set forth in the Loan Agreement.          
Loan Agreement [Member] | Term Loan [Member]            
Line of Credit Facility, Maximum Borrowing Capacity     7,000      
Loan Agreement [Member] | Term Loan B [Member]            
Line of Credit Facility, Maximum Borrowing Capacity     $ 3,000