Quarterly report pursuant to Section 13 or 15(d)

Stock-Based Compensation (Details Narrative)

v3.19.2
Stock-Based Compensation (Details Narrative) - USD ($)
1 Months Ended 3 Months Ended 9 Months Ended
Oct. 29, 2018
Oct. 26, 2018
Oct. 23, 2018
Aug. 22, 2018
Apr. 30, 2019
Dec. 31, 2018
Oct. 31, 2018
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Purchase price of incentive stock options as a percentage of its fair value                   85.00%  
Number of stock options cancelled                   206,113  
Options granted to purchase shares                   273,850  
Term of stock options                   1 year 4 months 24 days  
Exercise price                   $ 8.40  
Intrinsic value of options outstanding         $ 0     $ 0   $ 0  
Intrinsic value of options exercisable         0     0   0  
Unrecognized stock-based compensation expenses         $ 2,500,000     $ 2,500,000   $ 2,500,000  
Weighted-average grant date fair value of stock options granted               $ 4.00 $ 11.00 $ 5.70 $ 12.40
Number of shares issued for service, value               $ 211,896 $ 600,400 $ 657,504 $ 1,443,650
Shares available for grant         99,464     99,464   99,464  
Research And Development Expense [Member]                      
Stock-based compensation costs               $ 200,000 400,000 $ 1,100,000 700,000
General And Administrative Expense [Member]                      
Stock-based compensation costs               400,000 1,500,000 1,500,000 3,800,000
Restricted Stock Units (RSUs) [Member]                      
Stock-based compensation costs               $ 100,000 $ 1,100,000 $ 500,000 $ 1,400,000
Options granted to purchase shares             5,000        
Exercise price             $ 16.40        
Number of granted shares vested 1,250 2,500         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.                  
Number of shares vesting percentage   25.00%                  
Modification of accrued expense on unvested stock units   $ 63,278                  
Fair value of vested stock grants   $ 44,250                  
Number of restricted stock outstanding         88,114     88,114   88,114  
Restricted Stock Units (RSUs) [Member] | October 29, 2019 [Member]                      
Number of granted shares vested         1,250            
Restricted Stock Units (RSUs) [Member] | October 29, 2020 [Member]                      
Number of granted shares vested         1,250            
Restricted Stock Units (RSUs) [Member] | October 29, 2021 [Member]                      
Number of granted shares vested         1,250            
Maximum [Member]                      
Maturity                   6 years 6 months 6 years 6 months
Minimum [Member]                      
Maturity                   5 years 5 years
Common Stock [Member]                      
Number of shares issued for service               15,300 32,358 48,000 79,859
Number of shares issued for service, value               $ 2 $ 3 $ 5 $ 8
Stock issued during period, shares, employee stock purchase plans                 1,896 2,635 4,060
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              
Two Consultants [Member] | Stock Option Cancellation Agreements [Member]                      
Number of stock options cancelled     53,500                
Stock-based compensation costs     $ 377,278                
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]                      
Stock-based compensation costs               $ 211,893 $ 600,400 $ 657,504 $ 1,443,650
Options granted to purchase shares                   50,000  
Term of stock options                   10 years  
Number of shares issued for service               15,300 32,357 48,000 79,859
Number of shares issued for service, value               $ 212,910 $ 600,400 $ 669,240 $ 1,443,650
Consultants [Member] | Maximum [Member]                      
Exercise price                   $ 14.30  
Consultants [Member] | Minimum [Member]                      
Exercise price                   $ 8.461  
Mr. Daniel J. O'Connor [Member] | Restricted Stock Units (RSUs) [Member]                      
Options granted to purchase shares           75,000          
Exercise price           $ 6.00          
Number of granted shares vested           6,250          
Number of shares vesting, description           The units vest as follows: 6,250 units vested on April 30, 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.          
Number of unit remaining available to vest           68,750          
Mr. Daniel J. O'Connor [Member] | Equal Quarterly Installments [Member] | Restricted Stock Units (RSUs) [Member]                      
Number of unit remaining available to vest           6,250          
Employees, Directors and Consultants [Member]                      
Stock-based compensation costs               600,000 $ 1,900,000 $ 2,600,000 $ 4,500,000
Board of Directors [Member] | Restricted Stock Units (RSUs) [Member]                      
Stock-based compensation costs               $ 1,100,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                   206,115  
Options granted to purchase shares                   273,850  
Exercise price                   $ 8.40  
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         950,000     950,000   950,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 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                   125,350 125,900
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                   $ 15.80 $ 18.60
2011 Plan [Member] | Employees [Member] | Minimum [Member]                      
Exercise price                   $ 6.001 $ 9.20
2011 Plan [Member] | Directors [Member]                      
Options granted to purchase shares                   77,500 115,000
Term of stock options                   10 years 10 years
Vesting period of stock options granted                     1 year
2011 Plan [Member] | Directors [Member] | Maximum [Member]                      
Vesting period of stock options granted                   3 years  
Exercise price                   $ 8.412 $ 19.40
2011 Plan [Member] | Directors [Member] | Minimum [Member]                      
Vesting period of stock options granted                   1 year  
Exercise price                   $ 5.80 $ 9.79
2011 Plan [Member] | Consultants [Member]                      
Options granted to purchase shares                   1,000 70,500
Term of stock options                   10 years 10 years
Exercise price                   $ 6.254  
2011 Plan [Member] | Consultants [Member] | Maximum [Member]                      
Exercise price                     $ 18.80
2011 Plan [Member] | Consultants [Member] | Minimum [Member]                      
Exercise price                     $ 10.00
2011 Plan [Member] | Mr. Daniel J. O'Connor [Member]                      
Options granted to purchase shares                     250,000
Vesting period of stock options granted                     2 years
Number of granted shares vested                     100,000
2011 Plan [Member] | Mr. Daniel J. O'Connor [Member] | Performance Stock Option Award [Member]                      
Options granted to purchase shares                     25,000
2011 Plan [Member] | Mr. Daniel J. O'Connor [Member] | Tranche One [Member]                      
Options granted to purchase shares                     100,000
2011 Plan [Member] | Mr. Daniel J. O'Connor [Member] | Tranche Two [Member] | Performance Stock Option Award [Member]                      
Options granted to purchase shares                     50,000
2011 Plan [Member] | Mr. Daniel J. O'Connor [Member] | Tranche Three [Member]                      
Options granted to purchase shares                     25,000
ESPP [Member]                      
Stock-based compensation costs                   $ 13,200 $ 16,300
Shares available for grant         39,661     39,661   39,661  
Discount from market price, offering date                   15.00%  
Fair market value of unvested shares, percentage                   15.00%  
Maturity                   6 months 6 months
Risk free interest rate                   2.22% 1.15%
Volatility rate                   61.83% 62.60%
Forfeitures percentage                   0.00% 0.00%
Dividend                   $ 0 $ 0
ESPP [Member] | Six Month Call On The Unvested Share [Member]                      
Purchase price of incentive stock options as a percentage of its fair value                   85.00%  
ESPP [Member] | January 31, 2019 [Member] | Sixth Offering Period [Member]                      
Shares purchased                   1,428  
ESPP [Member] | July 31, 2016 [Member] | First Offering Period [Member]                      
Shares purchased                   1,778  
ESPP [Member] | January 31, 2017 [Member] | Second Offering Period [Member]                      
Shares purchased                   1,863  
ESPP [Member] | July 31, 2017 [Member] | Third Offering Period [Member]                      
Shares purchased                   2,164  
ESPP [Member] | January 31, 2018 [Member] | Fourth Offering Period [Member]                      
Shares purchased                   1,896  
ESPP [Member] | July 31, 2018 [Member] | Fifth Offering Period [Member]                      
Shares purchased                   1,207