Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation (Details Narrative)

v3.20.1
Stock-Based Compensation (Details Narrative) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended
Apr. 14, 2020
Jan. 31, 2020
Oct. 29, 2019
Oct. 02, 2019
Jul. 31, 2019
Apr. 30, 2019
Jan. 31, 2019
Oct. 29, 2018
Oct. 26, 2018
Apr. 30, 2020
Dec. 31, 2018
Oct. 31, 2018
Apr. 30, 2020
Apr. 30, 2019
Jan. 31, 2020
Jan. 31, 2019
Apr. 30, 2020
Apr. 30, 2019
Purchase price of incentive stock options as a percentage of its fair value                                 85.00%  
Options granted to purchase shares                                  
Intrinsic value of options outstanding                   $ 0     $ 0       $ 0  
Intrinsic value of options exercisable                   0     0       0  
Unrecognized stock-based compensation expenses                   $ 11,000     $ 11,000       $ 11,000  
Unrecognized stock-based compensation amortization period                                 1 year 6 months  
Weighted-average grant date fair value of stock options granted                         $ 1.35 $ 4.00       $ 5.70
Number of shares issued for service, value                         $ 19,376 $ 211,896 [1]     $ 486,149 $ 657,504 [1]
Number of shares authorized for issuance                   3,972,768     3,972,768       3,972,768  
Authorized to issued shares under ESPP                   767,257     767,257       767,257  
Restricted Stock Units 1 (RSUs) [Member]                                    
Number of restricted stock shares issued                                 41,456  
Stock-based compensation expense                         $ 50,000       $ 200,000  
Fair value of vested stock grants                                 28,688  
Restricted Stock Units (RSUs) [Member]                                    
Stock-based compensation expense                           100,000       500,000
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 (RSUs) [Member] | October 29, 2020 [Member]                                    
Restricted stock units vested               1,250                    
Restricted Stock Units (RSUs) [Member] | October 29, 2021 [Member]                                    
Restricted stock units vested               1,250                    
Restricted Stock Units (RSUs) [Member] | Equal Quarterly Installments [Member]                                    
Restricted stock units vested           6,250                        
Research And Development Expense [Member]                                    
Stock-based compensation expense                         0 200,000     80,000 1,100,000
General And Administrative Expense [Member]                                    
Stock-based compensation expense                         1,900 $ 400,000     900,000 $ 1,500,000
Consulting Agreements [Member]                                    
Number of restricted stock shares 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                            
Stock-based compensation expense                         $ 200,000          
Number of shares issued for service                         45,000          
Amended Consulting Agreements [Member]                                    
Number of restricted stock shares issued       15,000                            
Consulting Agreement [Member]                                    
Stock-based compensation expense                                 $ 200,000  
Number of shares issued for service                                 45,000  
Maximum [Member]                                    
Fair value maturity                                 6 years 6 months 6 years 6 months
Minimum [Member]                                    
Fair value maturity                                 5 years 5 years
Common Stock [Member]                                    
Number of stock options cancelled                                 878,534  
Number of shares issued for service                         12,500 15,300 [1]     106,999 48,000 [1]
Number of shares issued for service, value                         $ 1 $ 2 [1]     $ 11 $ 5 [1]
Number of shares issued [1]                                   533,333
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  
Employees [Member]                                    
Options granted to purchase shares                                   20,000
Term of stock options                                   10 years
Vesting period of stock options granted                                   3 years
Exercise price                                   $ 16.40
Consultants [Member]                                    
Options granted to purchase shares                                   50,000
Term of stock options                                   10 years
Stock-based compensation expense                           $ 200,000       $ 700,000
Number of shares issued for service                           15,300       48,000
Number of shares issued for service, value                           $ 200,000       $ 700,000
Consultants [Member] | Maximum [Member]                                    
Exercise price                                   $ 14.30
Consultants [Member] | Minimum [Member]                                    
Exercise price                                   $ 8.46
Employees, Directors and Consultants [Member]                                    
Number of stock options cancelled                         0       1,200,000  
Stock-based compensation expense                         $ 1,900,000 $ 600,000     $ 1,700,000 $ 2,600,000
Consultants [Member]                                    
Stock-based compensation expense                         $ 0       $ 500,000  
Number of shares issued for service                         0       94,499  
Number of shares issued for service, value                         $ 0       $ 500,000  
2011 Plan [Member]                                    
Number of shares authorized for issuance to awards granted                   100,000     100,000       100,000  
Provisional percentage of outstanding stock owned by stockholders                                 10.00%  
Increase the number of shares authorized 2,300,000                                  
Number of stock options cancelled                                 911,622  
Options granted to purchase shares                                 5,050  
Exercise price                                 $ 1.98  
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                   1,050,000     1,050,000       1,050,000  
Number of stock options cancelled                                 15,000  
Number of stock options cancelled, value                                 $ 1,200,000  
2011 Plan [Member] | Common Stock [Member] | Maximum [Member]                                    
Maximum shares granted per fiscal year per individual                                 50,000  
Stock option exercisable period                                 10 years  
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]                                    
Options granted to purchase shares                                 5,050 125,350
Term of stock options                                 10 years 10 years
Vesting period of stock options granted                                 3 years 3 years
2011 Plan [Member] | Employees [Member] | Maximum [Member]                                    
Exercise price                                 $ 2.21 $ 15.80
2011 Plan [Member] | Employees [Member] | Minimum [Member]                                    
Exercise price                                 $ 1.89 $ 6.00
2011 Plan [Member] | Directors [Member]                                    
Options granted to purchase shares                                   77,500
Term of stock options                                   10 years
Exercise price                   $ 1.55                
Stock-based compensation expense                         $ 19,000       $ 19,000  
Number of shares issued for service                   12,500                
2011 Plan [Member] | Directors [Member] | Maximum [Member]                                    
Vesting period of stock options granted                                   3 years
Exercise price                                   $ 8.41
2011 Plan [Member] | Directors [Member] | Minimum [Member]                                    
Vesting period of stock options granted                                   1 year
Exercise price                                   $ 5.80
2011 Plan [Member] | Consultants [Member]                                    
Options granted to purchase shares                                   1,000
Term of stock options                                   10 years
2011 Plan [Member] | Consultants [Member] | Consulting Agreement [Member]                                    
Exercise price                                   $ 6.25
ESPP [Member]                                    
Stock-based compensation expense                                 $ 3,800 $ 13,200
Number of shares authorized for issuance           50,000               50,000       50,000
Authorized to issued shares under ESPP           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
Fair value risk free interest rate                             2.04% 2.22%    
Fair value volatility rate                             90.64% 61.83%    
Fair value forfeitures percentage                             0.00% 0.00%    
Fair value dividend                             $ 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] | Six Month Call On Unvested Share [Member]                                    
Fair market value of unvested shares, percentage                                 85.00%  
[1] On May 20, 2019, the Company effected a 1 for 10 reverse stock split. Shares have been retroactively restated.