Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation (Details Narrative)

v3.20.2
Stock-Based Compensation (Details Narrative) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
May 29, 2020
Apr. 14, 2020
Apr. 14, 2020
Jan. 31, 2020
Oct. 29, 2019
Oct. 02, 2019
Jul. 31, 2019
Jul. 31, 2019
Jan. 31, 2019
Oct. 29, 2018
Oct. 26, 2018
Oct. 23, 2018
Aug. 22, 2018
Apr. 30, 2020
Dec. 31, 2018
Oct. 31, 2018
Jul. 31, 2020
Jul. 31, 2020
Jan. 31, 2020
Jul. 31, 2019
Jan. 31, 2019
Apr. 30, 2019
Jul. 31, 2020
Jul. 31, 2019
Mar. 11, 2020
Purchase price of incentive stock options as a percentage of its fair value                                             85.00%    
Number of options issued                                                
Intrinsic value of options outstanding, value                                 $ 3,700,000 $ 3,700,000         $ 3,700,000    
Intrinsic value of options exercisable                                 1,200,000 1,200,000         1,200,000    
Unrecognized stock-based compensation expenses                                 $ 1,600,000 $ 1,600,000         $ 1,600,000    
Unrecognized stock-based compensation amortization period                                             2 years 7 months 10 days    
Weighted-average grant date fair value of stock options granted                                 $ 1.67             $ 5.29  
Number of shares issued for service, value                                             $ 931,350 $ 845,994  
Number of shares authorized for issuance                                 6,242,368 6,242,368         6,242,368    
Authorized to issued shares under espp                                 1,616,901 1,616,901         1,616,901    
Six-Month Holding Period [Member]                                                  
Number of shares issued 185,003                                                
Number of shares issued value $ 302,989                                           $ 700,000    
Number of shares issued price per share $ 2.23                                                
Number of vesting withholding obligations 117,986                                                
Restricted Stock Units 1 (RSUs) [Member]                                                  
Number of restricted stock issued                                             34,914    
Stock-based compensation costs                                             $ 300,000    
Fair value of vested stock grants                                             35,230    
Restricted Stock Units [Member]                                                  
Stock-based compensation costs                                               $ 400,000  
Intrinsic value of options outstanding, shares             77,956 77,956                       77,956       77,956  
Fair value of vested stock grants                     $ 44,250                            
Restricted stock units granted                             75,000 5,000                  
Restricted stock units vested         1,250   68,750     1,250         6,250 3,750                  
Number of shares vesting, description                     The Company's Board of Directors approved the accelerated vesting of 25% of the outstanding RSUs held by the employee. The RSUs, which originally vest on the third anniversary of the grant date, or March 29, 2020, were accelerated to vest on October 26, 2018.       The units vest as follows: 6,250 units vested on January 31, 2019, and the remaining 68,750 units vest in equal quarterly installments of 6,250 units beginning on April 30, 2019 and ending on October 31, 2021. The units vest as follows: 1,250 units vested on October 29, 2018, and the remaining 3,750 units vest according to the following vesting schedule: 1,250 units on October 29, 2019, 1,250 units on October 29, 2020 and 1,250 units on October 29, 2021.                  
Restricted stock units exercise price                             $ 6.00 $ 16.40                  
Number of shares vesting percentage                     25.00%                            
Modification of accrued expense on unvested stock units                     $ 63,278                            
Restricted Stock Units [Member] | October 29, 2020 [Member]                                                  
Restricted stock units vested                   1,250                              
Restricted Stock Units [Member] | October 29, 2021 [Member]                                                  
Restricted stock units vested                   1,250                              
Restricted Stock Units [Member] | Equal Quarterly Installments [Member]                                                  
Restricted stock units vested             6,250                                    
Research And Development Expense [Member]                                                  
Stock-based compensation costs                                             1,300,000 $ 1,200,000  
General And Administrative Expense [Member]                                                  
Stock-based compensation costs                                             $ 1,300,000 $ 1,700,000  
Consulting Agreements [Member]                                                  
Number of restricted stock issued           3,000                                      
Agreement description           On October 2, 2019, the Company entered into an amendment to a consulting agreement with a consulting firm. Prior to the amendment the Company was required to issue 3,000 restricted common shares monthly for services through July 2, 2020. As per the terms of the amended agreement, starting October 2, 2019, the Company will be required to issue 15,000 shares of restricted common stock monthly for services through July 2, 2020.                                      
Incremental compensation cost of modification of award           $ 200,000                                      
Amended Consulting Agreements [Member]                                                  
Number of restricted stock issued           15,000                                      
Minimum [Member]                                                  
Fair value maturity                                             5 years 5 years  
Maximum [Member]                                                  
Fair value maturity                                             6 years 6 months 6 years 6 months  
Common Stock [Member]                                                  
Number of stock options cancelled                                             878,534    
Number of shares issued for service                                             196,999 60,300  
Number of shares issued for service, value                                             $ 20 $ 6  
Common Stock [Member] | Cancellation Agreements [Member]                                                  
Number of stock options cancelled                                             699,140    
Employees and Consultants [Member] | Common Stock [Member]                                                  
Number of stock options cancelled                                             179,394    
Cash paid to settle the equity-classified awards                                             $ 26,000    
Two Consultants [Member] | Stock Option Cancellation Agreements [Member]                                                  
Number of stock options cancelled                       53,500                          
Stock-based compensation costs                       $ 377,278                          
Individual [Member] | Stock Option Cancellation Agreements [Member]                                                  
Number of stock options cancelled                         30,000                        
Number of restricted stock issued                         17,500                        
Stock-based compensation costs                         $ 135,425                        
Chief Executive Officers and Seven Other Officers [Member]                                                  
Payment of bonus                                                 $ 836,250
Board of Directors [Member]                                                  
Number of shares issued   302,989                                              
Number of shares issued value   $ 418,125                                              
Number of shares issued price per share   $ 1.38 $ 1.38                                            
Employees [Member]                                                  
Number of options issued                                               20,000  
Term of stock options                                               10 years  
Vesting period of stock options granted                                               3 years  
Exercise price                                               $ 16.40  
Consultants [Member]                                                  
Number of options issued                                               50,000  
Term of stock options                                               10 years  
Number of shares issued for service                                               48,000  
Number of shares issued for service, value                                               $ 700,000  
Consultants [Member] | Minimum [Member]                                                  
Exercise price                                           $ 8.46      
Consultants [Member] | Maximum [Member]                                                  
Exercise price                                           $ 14.30      
Employees, Directors and Consultants [Member]                                                  
Number of stock options cancelled                                             1,200,000    
Stock-based compensation costs                                             $ 2,600,000 $ 2,900,000  
Consultants [Member]                                                  
Number of shares issued for service                                             184,499 60,300  
Number of shares issued for service, value                                             $ 900,000 $ 900,000  
2011 Plan [Member]                                                  
Number of shares authorized for issuance to awards granted                                 100,000 100,000         100,000    
Stock option exercisable period                                             10 years    
Provisional percentage of outstanding stock owned by stockholders                                             10.00%    
Increase the number of shares authorized     2,300,000                                            
Number of stock options cancelled                                             942,698 228,700  
Number of vesting withholding obligations                                 1,442,856 1,442,856         1,442,856    
Number of options issued                                             1,463,982 302,749  
Exercise price                                             $ 1.60 $ 7.88  
2011 Plan [Member] | Stock Options Cancelled [Member]                                                  
Number of stock options cancelled during period, shares                                             5,050    
2011 Plan [Member] | Minimum [Member]                                                  
Purchase price of incentive stock options as a percentage of its fair value                                             100.00%    
Exercise price as a percentage of fair value of common stock                                             110.00%    
2011 Plan [Member] | Common Stock [Member]                                                  
Number of shares authorized for issuance to awards granted                                 3,350,000 3,350,000         3,350,000    
Number of stock options cancelled                                             15,000    
Number of stock options cancelled, value                                             $ 1,200,000    
2011 Plan [Member] | Employees, Directors and Consultants [Member]                                                  
Employee stock purchase program description                                             The 2011 Plan authorizes a total of 750,000 shares for issuance thereunder, and includes an automatic increase of the number of shares of common stock reserved thereunder on the first business day of each calendar year by the lesser of: (i) 3% of the shares of the Company's common stock outstanding as of the last day of the immediately preceding calendar year; (ii) 100,000 shares; or (iii) such lesser number of shares as determined by the Company's Board of Directors.    
Number of shares authorized for issuance to awards granted                                 750,000 750,000         750,000    
Percentage of shares of common stock outstanding                                 3.00% 3.00%         3.00%    
2011 Plan [Member] | Employees [Member]                                                  
Number of options issued                                             1,158,982 154,249  
Term of stock options                                             10 years 10 years  
Vesting period of stock options granted                                             3 years 3 years  
2011 Plan [Member] | Employees [Member] | Minimum [Member]                                                  
Vesting period of stock options granted                                             2 years    
Exercise price                                             $ 1.56 $ 2.57  
2011 Plan [Member] | Employees [Member] | Maximum [Member]                                                  
Vesting period of stock options granted                                             3 years    
Exercise price                                             $ 3.30 $ 15.80  
2011 Plan [Member] | Directors [Member]                                                  
Stock-based compensation costs                                             $ 19,000    
Number of options issued                                             225,000 77,500  
Term of stock options                                             10 years 10 years  
Vesting period of stock options granted                                             3 years    
Exercise price                           $ 1.55                 $ 1.56    
Number of shares issued for service                           12,500                      
2011 Plan [Member] | Directors [Member] | Minimum [Member]                                                  
Vesting period of stock options granted                                               1 year  
Exercise price                                               $ 5.80  
2011 Plan [Member] | Directors [Member] | Maximum [Member]                                                  
Vesting period of stock options granted                                               3 years  
Exercise price                                               $ 8.41  
2011 Plan [Member] | Consultants [Member]                                                  
Number of options issued                                             80,000 1,000  
Term of stock options                                             10 years 10 years  
Exercise price                                             $ 1.56    
2011 Plan [Member] | Consultants [Member] | Consulting Agreement [Member]                                                  
Exercise price                                               $ 6.25  
2019 Incentive Bonuses [Member] | Chief Executive Officers and Seven Other Officers [Member]                                                  
Payment of bonus                                                 $ 418,125
ESPP [Member]                                                  
Stock-based compensation costs                                             $ 3,800 $ 12,000  
Number of shares authorized for issuance             50,000 50,000                       50,000       50,000  
Number of shares purchased                                             33,409    
Authorized to issued shares under espp             34,767 34,767                       34,767       34,767  
Discount from market price, offering date                                             15.00%    
Fair market value of unvested shares, percentage                                             15.00%    
Fair value maturity                                   6 months 6 months 6 months 6 months        
Fair value risk free interest rate                                   1.54% 2.04% 2.46% 2.22%        
Fair value volatility rate                                   76.59% 90.64% 126.35% 61.83%        
Fair value forfeitures percentage                                   0.00% 0.00% 0.00% 0.00%        
Fair value dividend                                   $ 0 $ 0 $ 0 $ 0        
ESPP [Member] | Sixth Offering Period [Member]                                                  
Number of shares purchased                 1,428                                
ESPP [Member] | Seventh Offering Period [Member]                                                  
Number of shares purchased               2,053                                  
ESPP [Member] | Eighth Offering Period [Member]                                                  
Number of shares purchased       2,841                                          
ESPP [Member] | Nineth Offering Period [Member]                                                  
Number of shares purchased       1,358                                          
ESPP [Member] | Six Month Call On Unvested Share [Member]                                                  
Fair market value of unvested shares, percentage                                             85.00%