Quarterly report pursuant to Section 13 or 15(d)

Stock Options and Warrants (Details Textual)

v3.7.0.1
Stock Options and Warrants (Details Textual) - USD ($)
1 Months Ended 6 Months Ended 12 Months Ended
Dec. 01, 2016
Nov. 01, 2016
Sep. 01, 2016
Aug. 24, 2016
Dec. 31, 2015
Dec. 30, 2015
Nov. 02, 2015
May 07, 2015
May 01, 2015
Apr. 23, 2015
Dec. 15, 2014
Dec. 01, 2014
Apr. 27, 2017
Jan. 30, 2017
Dec. 31, 2016
Dec. 31, 2016
Mar. 31, 2016
Feb. 02, 2016
Nov. 26, 2014
Sep. 22, 2014
Jun. 30, 2017
Jun. 30, 2016
Dec. 31, 2016
Aug. 22, 2016
Sep. 03, 2015
Jul. 15, 2015
Jul. 01, 2013
Stock Options and Warrants (Textual)                                                      
Class of Warrant or Right, Exercise Price of Warrants or Rights                             $ 3.00 $ 3.00         $ 3.00   $ 3.00        
Common stock, shares authorized                             200,000,000 200,000,000         200,000,000   200,000,000   200,000,000    
Stock-based compensation                                         $ 653,000 $ 727,000          
Warrants issued to purchase common stock                       8,462     187,500                        
Warrants valued using Black-Scholes Option pricing model                                         73,000            
Debt discount recorded upon issuance of warrants                             $ 305,000           $ 148,000          
Outstanding warrants exercisable                                         5,462,381            
Stock Option [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Description of vesting right                                         The options granted have a contract term ranging between three and ten years. Options granted typically vest over a four-year period, with 25% vesting after one year and the remainder ratably over the remaining three years.            
Options granted contract term                                         8 years 7 days            
Options vesting period                                         4 years            
Options vesting percentage                                         25.00%            
Total unrecognized deferred stock compensation                                         $ 1,500,000            
Weighted-average vesting periods                                         3 years 10 months 14 days            
Options outstanding                             273,550 273,550         675,523   273,550        
Options exercisable, number of shares                                         341,390            
Weighted average exercise price                                         $ 9.29            
2014 Services Warrants - April [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Class of Warrant or Right, Exercise Price of Warrants or Rights [1]                                         39.00            
Exercise price per share                                         $ 11.50            
Outstanding warrants exercisable [1]                                         13,657            
2014 Convertible Notes Warrants [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Class of Warrant or Right, Exercise Price of Warrants or Rights [2]                                         $ 25.00            
Outstanding warrants exercisable [2]                                         16,000            
2014 Services Warrants - September [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Class of Warrant or Right, Exercise Price of Warrants or Rights [3]                                         $ 25.00            
Exercise price per share                                         $ 39            
Outstanding warrants exercisable [3]                                         26,500            
2013 Equity Incentive Plan [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Maximum number of common shares authorized to purchase                                         440,000           420,000
Options outstanding                                         235,523            
Options exercisable, number of shares                                         195,373            
2015 Omnibus Incentive Plan [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Maximum number of common shares authorized to purchase                                         27,465     600,000      
Common stock, shares authorized                                                   300,000  
Term of stock option and stock appreciation right                                         The maximum term of each stock option and stock appreciation right (SAR) is 10 years.            
Aggregate of common stock shares                                         440,000            
Options outstanding                             6,000 6,000           6,000        
Options exercisable, number of shares                                         146,016            
Minimum [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Options granted contract term                                         3 years            
Maximum [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Options granted contract term                                         10 years            
Restricted Stock [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Description of vesting right                                         The remaining unvested restricted shares vest 33% per year on March 31, 2018, 2019, and 2020.            
Restricted stock issued                                         210,000            
Warrants [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Class of Warrant or Right, Exercise Price of Warrants or Rights                             $ 3.77 $ 3.77         $ 3.59   $ 3.77        
Exercise price per share                         $ 3.00                            
Deferred financing charges                         $ 30,000                            
Warrants [Member] | Black Scholes Option Pricing Model [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Warrants issued to purchase common stock                         41,000                            
Exercise price per share                         $ 3.00                            
Deferred financing charges                         $ 26,000                            
Warrants [Member] | Minimum [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Exercise price per share       $ 4.00                                              
Reduction in warrants exercise price       3.00                                              
Warrants [Member] | Maximum [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Exercise price per share       12.50                                              
Reduction in warrants exercise price       $ 3.00                                              
Warrant 1 [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Weighted average remaining life of warrants                                         4 years 1 month 27 days            
Warrants issued to purchase common stock 62,500 62,500 124,999   312,500 50,000 74,000 83,518 5,514 136,267 19,232 19,232   62,500   250,000 500,000 50,000 6,500 26,500 62,500   62,500        
Warrant issued value                                     $ 43,000 $ 296,000              
Exercise price per share $ 3.00   $ 4.00   $ 5.00 $ 12.50 $ 15.00 $ 12.50 $ 12.50 $ 12.50 $ 25.00 $ 39.00   $ 3.00     $ 5.00 $ 12.50 $ 25.00 $ 25.00     $ 3.00        
Warrants valued using Black-Scholes Option pricing model     $ 271,000       $ 246,000 $ 2,139,000 $ 56,000 $ 2,139,000   $ 246,000         $ 1,497,000 $ 148,000                  
Reduction in warrants exercise price                                 $ 5.00                    
Warrant term                                             5 years        
Weighted average exercise price                                         $ 3.59            
Convertible Unsecured Notes Warrant [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Exercise price per share $ 4 $ 4 $ 4                                   $ 3            
Reclassification of warrants previously recorded as derivative liabilities to paid in capital                                         $ 30,000            
Convertible Unsecured Notes Warrant [Member] | 2014 Services Warrants - September [Member]                                                      
Stock Options and Warrants (Textual)                                                      
Stock-based compensation                                       $ 6,000              
Warrant issued value                                       $ 131,000              
Exercise price per share                                       $ 25.00              
[1] The 2014 Services Warrants April were issued for fees incurred in conjunction with the issuance of convertible notes in 2014. The warrants were valued on the issuance date at $11.50 per share in conjunction with the valuation approach used for the initial valuation of the warrants issued in connection with the convertible notes issued in 2014.
[2] The 2014 Services Warrants-September were issued to a consultant in exchange for advisory services with no readily available fair value. The warrants were originally issued at an exercise price of $39.00 per share and had a one-time price reset provision to the exercise price of the warrants issued to investors in the convertible notes offering in April 2014 if the exercise price of such convertible notes warrants changed prior to September 30, 2014. On September 22, 2014, the exercise price was changed to $25.00 per share. There are no further exercise price changes for this warrant series. The warrants were valued using the Black-Scholes option pricing model at $131,000 on the issuance date with an additional $6,000 recorded to expense on September 22, 2014 to reflect the change in fair value resulting from the exercise price change.
[3] On September 22, 2014, the Company issued warrants to purchase up to 26,500 shares of common stock with an exercise price of $25.00 per share in conjunction with placement agent services for the Company's September 2014 private equity placement. The warrants were valued using the Black-Scholes option pricing model at $296,000 on the issuance date.