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
Jan. 31, 2020
Oct. 29, 2019
Oct. 02, 2019
Jul. 31, 2019
Jan. 31, 2019
Oct. 29, 2018
Oct. 26, 2018
Dec. 31, 2018
Oct. 31, 2018
Jan. 31, 2020
Jan. 31, 2019
Jan. 31, 2020
Jan. 31, 2019
Purchase price of incentive stock options as a percentage of its fair value                       85.00%  
Intrinsic value of options outstanding $ 0                 $ 0   $ 0  
Intrinsic value of options exercisable 0                 0   0  
Unrecognized stock-based compensation expenses $ 13,000                 $ 13,000   $ 13,000  
Unrecognized stock-based compensation amortization period                       1 year 9 months  
Weighted-average grant date fair value of stock options granted                   $ 1.44 $ 4.60 $ 1.35 $ 5.70
Number of shares issued for service, value                   $ 247,601 $ 205,787 [1] $ 466,773 $ 445,611 [1]
Number of shares authorized for issuance 3,991,810                 3,991,810   3,991,810  
Authorized to issued shares under ESPP 779,757                 779,757   779,757  
Restricted Stock Units 1 (RSUs) [Member]                          
Number of restricted stock shares issued                       47,998  
Stock-based compensation expense                   $ 100,000   $ 200,000  
Fair value of vested stock grants                       22,146  
Restricted Stock Units (RSUs) [Member]                          
Stock-based compensation expense                     200,000   400,000
Fair value of vested stock grants             $ 44,250            
Restricted stock units granted               75,000 5,000        
Restricted stock units vested   1,250     6,250 1,250   68,750 3,750        
Number of shares vesting, description             The Company's Board of Directors approved the accelerated vesting of 25% of the outstanding restricted stock units (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                   70,000 250,000 80,000 1,100,000
General And Administrative Expense [Member]                          
Stock-based compensation expense                   $ 600,000 $ 850,000 $ 90,000 $ 1,800,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                    
Amended Consulting Agreements [Member]                          
Number of restricted stock shares issued     15,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                   58,812 14,300 [1] 94,499 32,700 [1]
Number of shares issued for service, value                   $ 6 $ 1 [1] $ 10 $ 3 [1]
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   $ 500,000
Number of shares issued for service                     14,300   32,700
Number of shares issued for service, value                     $ 200,000   $ 500,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                   1,200,000   1,200,000  
Stock-based compensation expense                   $ 1,300,000 $ 1,100,000 $ 1,700,000 $ 2,900,000
Consultants [Member]                          
Stock-based compensation expense                   $ 200,000   $ 500,000  
Number of shares issued for service                   58,812   94,499  
Number of shares issued for service, value                   $ 200,000   $ 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%  
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 124,100
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                         67,500
Term of stock options                         10 years
Vesting period of stock options granted                         3 years
2011 Plan [Member] | Directors [Member] | Maximum [Member]                          
Exercise price                         $ 8.41
2011 Plan [Member] | Directors [Member] | Minimum [Member]                          
Exercise price                         $ 6.55
ESPP [Member]                          
Stock-based compensation expense                       $ 2,700 $ 6,500
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.