Annual report pursuant to Section 13 and 15(d)

Organization and Summary of Significant Accounting Policies (Details Textual)

v3.8.0.1
Organization and Summary of Significant Accounting Policies (Details Textual) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Mar. 31, 2018
Feb. 18, 2018
May 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Mar. 31, 2016
Dec. 31, 2014
Schedule of Organization and Summary of Significant Accounting Policies [Line Items]                
Less change in fair value of warrant liability       $ 619 $ 825 $ (4,512)    
Share-based Compensation       1,687 1,039 1,026    
Comprehensive Income (Loss), Net of Tax, Attributable to Parent       14,300 5,100 11,300    
Revenue Recognition, Milestone Method, Revenue Recognized     $ 15,000          
Money Market Funds, at Carrying Value       7,400 13,700      
Cash and Cash Equivalents, at Carrying Value, Total       7,522 14,006 $ 7,857   $ 15,470
Subsequent Event [Member] | Molteni Loan [Member]                
Schedule of Organization and Summary of Significant Accounting Policies [Line Items]                
Proceeds from Subordinated Short-term Debt $ 2,400              
Adjustments for New Accounting Pronouncement [Member]                
Schedule of Organization and Summary of Significant Accounting Policies [Line Items]                
Deferred Tax Assets, Unrecognized Tax Benefit             $ 12,000  
Horizon Loan [Member] | Subsequent Event [Member]                
Schedule of Organization and Summary of Significant Accounting Policies [Line Items]                
Repayments of Debt   $ 3,000            
Money Market Funds [Member] | Fair Value, Inputs, Level 1 [Member]                
Schedule of Organization and Summary of Significant Accounting Policies [Line Items]                
Investments, Fair Value Disclosure       $ 7,400 $ 13,700