Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity (Details Narrative 1)

v3.8.0.1
Stockholders' Equity (Details Narrative 1) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Oct. 31, 2017
Apr. 11, 2017
Apr. 03, 2017
Mar. 20, 2017
Mar. 17, 2017
Feb. 16, 2017
Feb. 13, 2017
Feb. 10, 2017
Nov. 21, 2016
Jun. 07, 2016
Nov. 02, 2015
Oct. 31, 2015
Aug. 13, 2015
Aug. 05, 2015
Sep. 08, 2014
Jul. 31, 2017
Jun. 30, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Jul. 31, 2016
Apr. 30, 2016
Jan. 31, 2016
Exercise price (in dollars per share)                                   $ 8.45            
Uunrecognized compensation expense                                   $ 700            
Recognition period                                   1 year 10 months 24 days            
Weighted-average grant-date fair value (in dollars per share)                                   $ 5.55 $ 4.47 $ 2.20        
Intrinsic value of options exercised                                   $ 1,500 $ 22          
Cash received from exercise of stock options                                   $ 1,100            
Additional compensation expense for option modification                                 $ 175              
Description of discount on convertible note                                  

To avoid reducing the initial net carrying value of the convertible note to or below zero, the discount attributable to the BCF was limited such that the aggregate of all discounts does not exceed 99.5% of the face amount of the convertible note.

           
Number of share granted                                   1,065,003 443,565 611,313        
Fair value of per share granted                                   $ 6.51 $ 4.96 $ 3.95        
Restricted Stock Units (RSUs) [Member] | Non-Officer Employees [Member]                                                
Number of share granted 146,200                                              
Fair value of per share granted $ 5.78                                              
Description of shares vesting

Restricted stock units were granted with 50% vesting on January 15, 2018 and the remaining 50% vesting on January 15, 2019.

                                             
Restricted Stock Units (RSUs) [Member] | Employment Agreement [Member] | Mr. Weinswig [Member]                                                
Number of share granted                               49,751                
Fair value of per share granted                               $ 11.68                
Number of share vest in July 31, 2018                               16,584                
Number of share vest in July 31, 2019                               16,584                
Number of share vest in July 31, 2020                               16,583                
2014 Stock Incentive Plan [Member]                                                
Awards term                                         10 years      
Number of common shares authorized                                         2,113,637      
Uunrecognized compensation expense                                   $ 900            
Recognition period                                   1 year 10 months 24 days            
Common Stock [Member]                                                
Number of common shares issued in exercise of warrant                                   1,173,296 15,203          
2016 Public Offering [Member] | Common Stock [Member] | Underwriter [Member]                                                
Number of warrants issued                                     33,450          
Consulting Warrants [Member]                                                
Exercise price (in dollars per share)           $ 6.00         $ 6.00 $ 6.00     $ 0.0034375                  
Fair value of warrant issued                     $ 36 $ 28                        
Warrant term                     1 year                          
Number of warrants issued                     30,000 12,500     436,364                  
Number of warrants exercised           35,000                                    
Number of common shares issued in exercise of warrant           22,470                                    
Warrant expiration date                       Jul. 30, 2018                        
Share price (in dollars per share)           $ 16.768                                    
Warrants [Member]                                                
Exercise price (in dollars per share)   $ 6.00 $ 0.0034375 $ 3.00 $ 6.00   $ 3.00     $ 6.00                            
Number of warrants exercised   12,500 43,636 226,068 2,500   25,119     30,000               1,461,744            
Number of common shares issued in exercise of warrant   8,315 43,628 192,666 2,500   19,349     15,203               1,175,796            
Share price (in dollars per share)   $ 17.920 $ 19.148 $ 20.304 $ 20.262   $ 13.062     $ 12.16                            
Warrants [Member] | August 2015 Public Offerings [Member]                                                
Exercise price (in dollars per share)                           $ 6.00                    
Warrants exercisable date                           Jul. 30, 2016                    
Warrants maturity period                           5 years                    
Number of warrants issued                           660,000                    
Warrants [Member] | Over-Allotment Option [Member]                                                
Exercise price (in dollars per share)                         $ 6.00                      
Warrants exercisable date                         Jul. 30, 2016                      
Warrants maturity period                         5 years                      
Number of warrants issued                         64,193                      
Warrants [Member] | 2016 Public Offering [Member]                                                
Number of warrants issued                                     2,305,378          
Warrants [Member] | 2016 Public Offering [Member] | Underwriter [Member]                                                
Exercise price (in dollars per share)                 $ 10.00                              
Warrants exercisable date                 May 20, 2017                              
Fair value of warrant issued                 $ 229                              
Number of warrants issued                 33,450                              
Warrant expiration date                 Nov. 21, 2019                              
Share price (in dollars per share)                 $ 12.66                              
Warrant Exercise Price $6.00 [Member]                                                
Exercise price (in dollars per share)                                           $ 6.00 $ 6.00 $ 6.00
Number of warrants issued                                           12,500 12,500 12,500
Share price (in dollars per share)                                           $ 9.31 $ 8.37 $ 4.63
Liquid Patent Consulting, LLC [Member] | Consulting Warrants [Member]                                                
Exercise price (in dollars per share)               $ 0.0034375             $ 0.0034375                  
Warrants maturity period                             3 years                  
Warrant term                             180 days                  
Number of warrants issued                             436,364                  
Number of warrants exercised               392,728                                
Number of common shares issued in exercise of warrant               392,605                                
Share price (in dollars per share)               $ 11.016