Annual report pursuant to Section 13 and 15(d)

Warrant Liability (Details Textual)

v3.8.0.1
Warrant Liability (Details Textual) - USD ($)
1 Months Ended 2 Months Ended 12 Months Ended
Apr. 09, 2012
Mar. 15, 2011
Oct. 31, 2014
Jun. 30, 2016
Mar. 31, 2013
Dec. 31, 2017
Dec. 31, 2013
Jul. 31, 2017
Jul. 27, 2017
Apr. 30, 2012
Class of Warrant or Right [Line Items]                    
Notional Liquidation Damages           $ 2,500,000        
Underwritten Public Offering, Description of Units Issued     consisting of one share of common stock and 0.75 of a warrant (Class A Warrant)              
Institutional Investor [Member]                    
Class of Warrant or Right [Line Items]                    
Warrants To Purchase Common Stock Shares 1,185,034                  
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 4.67                  
Institutional Investor [Member] | Common Stock [Member]                    
Class of Warrant or Right [Line Items]                    
Stock Issued During Period Shares Private Placement 1,185,034                  
Series A Warrants [Member]                    
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights     $ 4.89              
Class of Warrant or Right Exercised During Period             201,639      
Proceeds from Warrant Exercises             $ 1,275,000      
Class Of Warrant Or Right Subject To Expiry             983,395      
Series A Warrants [Member] | Minimum [Member]                    
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 4.89             $ 4.89 $ 4.85  
Series A Warrants [Member] | Maximum [Member]                    
Class of Warrant or Right [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 6.32             $ 4.85 $ 4.89  
Series A Warrants [Member] | Institutional Investor [Member]                    
Class of Warrant or Right [Line Items]                    
Warrants To Purchase Common Stock Shares 1,185,034                  
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 6.32                  
Deerfield Warrant [Member]                    
Class of Warrant or Right [Line Items]                    
Warrants To Purchase Common Stock Shares   1,090,910                
Class of Warrant or Right, Exercise Price of Warrants or Rights   $ 8.64               $ 6.88
Debt Instrument, Increase (Decrease), Net, Total         $ 7,500,000          
Class A Warrant [Member]                    
Class of Warrant or Right [Line Items]                    
Warrants To Purchase Common Stock Shares     2,863,643              
Class of Warrant or Right, Exercise Price of Warrants or Rights     $ 3.30              
Class of Warrant or Right Exercised During Period       2,016,075            
Underwriter Warrant [Member]                    
Class of Warrant or Right [Line Items]                    
Warrants To Purchase Common Stock Shares           114,546        
Class of Warrant or Right, Exercise Price of Warrants or Rights           $ 3.30        
Class of Warrant or Right Exercised During Period       114,546