Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation (Details Narrative)

v3.10.0.1
Stock-Based Compensation (Details Narrative) - USD ($)
1 Months Ended 6 Months Ended 12 Months Ended
Jul. 16, 2018
Feb. 08, 2018
Dec. 14, 2016
Jul. 31, 2018
May 31, 2018
Feb. 28, 2018
Mar. 31, 2017
Jul. 31, 2018
Jan. 31, 2018
Jul. 31, 2017
Jan. 31, 2017
Jul. 31, 2018
Jul. 31, 2017
Number of shares authorized for issuance to awards granted       760,010       760,010       760,010  
Purchase price of incentive stock options as a percentage of its fair value                       85.00%  
Options granted to purchase shares                       6,286,500 3,028,536
Term of stock options                       1 year 7 months 2 days  
Exercise price                       $ 1.38 $ 1.41
Intrinsic value of options outstanding       $ 65,500       $ 65,500       $ 65,500  
Intrinsic value of options exercisable       37,000       37,000       37,000  
Unrecognized stock-based compensation expenses       $ 3,900,000       $ 3,900,000       $ 3,900,000  
Weighted-average grant date fair value                       $ 1.24 $ 0.69
Dividends rate                       0.00% 0.00%
Restricted Stock Units (RSUs) [Member]                          
Exercise price       $ 1.34                  
Number of granted shares vested 312,500     312,500                  
Stock-based compensation expense recognized                       $ 2,000,000 $ 462,000
Number of restricted stock outstanding       647,500       647,500   1,100,000   647,500 1,100,000
Research And Development Expense [Member]                          
Stock-based compensation expense recognized                       $ 1,000,000 $ 1,100,000
General And Administrative Expense [Member]                          
Stock-based compensation expense recognized                       $ 5,200,000 $ 2,500,000
Maximum [Member]                          
Maturity                       6 years 6 months 10 years
Minimum [Member]                          
Maturity                       5 years 2 years 29 days
Common Stock [Member]                          
Stock issued during period, shares, employee stock purchase plans                       40,606 36,420
Employee, Director and Consultants [Member] | Stock Options [Member]                          
Options granted to purchase shares     2,214,500                    
Exercise price     $ 3.00                    
Stock option exchange offer description     In the Exchange Offer, an exchange rate of 2-for-1 applied to stock options with an exercise price from $3.00 to $9.99, and an exchange rate of 3-for-1 applied to stock options with an exercise price of $10.00 or more.                    
Employee, Director and Consultants [Member] | New Stock Options [Member]                          
Options granted to purchase shares     1,070,536                    
Mr. O'Connor [Member] | Stock Options [Member]                          
Options granted to purchase shares                       2,500,000  
Vesting period                       2 years  
Number of granted shares vested                       1,000,000  
Mr. O'Connor [Member] | Stock Options One [Member]                          
Options granted to purchase shares                       500,000  
Number of granted shares vested                       250,000  
Mr. O'Connor [Member] | Stock Options One [Member] | One Year Anniversary [Member]                          
Number of granted shares vested                       250,000  
Employees, Directors and Consultants [Member]                          
Stock-based compensation expense recognized                         $ 3,600,000
Board of Directors [Member] | Restricted Stock Units (RSUs) [Member]                          
Stock-based compensation expense recognized   $ 1,100,000                      
Former CFO [Member] | Restricted Stock Units (RSUs) [Member]                          
Options granted to purchase shares       625,000                  
2011 Plan [Member]                          
Number of shares authorized for issuance to awards granted       1,000,000       1,000,000       1,000,000  
Maximum shares granted per fiscal year per individual                       8,500,000  
2011 Plan [Member] | Restricted Stock Units (RSUs) [Member]                          
Options granted to purchase shares         35,000 300,000 525,000            
Exercise price         $ 1.59 $ 1.64              
Weighted-average grant date fair value             $ 1.34            
2011 Plan [Member] | Minimum [Member]                          
Purchase price of incentive stock options as a percentage of its fair value                       100.00%  
Provisional percentage of outstanding stock owned by stockholders                       10.00%  
Exercise price as a percentage of fair value of common stock                       110.00%  
2011 Plan [Member] | Common Stock [Member] | Maximum [Member]                          
Maximum shares granted per fiscal year per individual                       500,000  
Stock option exercisable period                       10 years  
2011 Plan [Member] | Employee, Director and Consultants [Member]                          
Employee stock purchase program description                       The 2011 Plan authorizes a total of 7,500,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) 1,000,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       7,500,000       7,500,000       7,500,000  
2011 Plan [Member] | Employees [Member]                          
Options granted to purchase shares                       5,281,500 1,841,037
Term of stock options                       10 years 10 years
Vesting period                       3 years 3 years
2011 Plan [Member] | Employees [Member] | Maximum [Member]                          
Exercise price                       $ 1.86 $ 1.94
2011 Plan [Member] | Employees [Member] | Minimum [Member]                          
Exercise price                       $ 0.92 $ 1.11
2011 Plan [Member] | Director [Member]                          
Options granted to purchase shares                       300,000 355,416
Term of stock options                       10 years 10 years
2011 Plan [Member] | Director [Member] | Maximum [Member]                          
Exercise price                       $ 1.94 $ 1.34
2011 Plan [Member] | Director [Member] | Minimum [Member]                          
Exercise price                       $ 0.979 $ 1.29
2011 Plan [Member] | Consultants [Member]                          
Options granted to purchase shares                       705,000 832,083
Term of stock options                       10 years 3 years
2011 Plan [Member] | Consultants [Member] | Maximum [Member]                          
Exercise price                       $ 1.88 $ 2.00
2011 Plan [Member] | Consultants [Member] | Minimum [Member]                          
Exercise price                       $ 1.00 $ 1.29
ESPP [Member]                          
Number of shares authorized for issuance to awards granted       410,903       410,903       410,903  
Purchase price of incentive stock options as a percentage of its fair value                       85.00%  
Stock-based compensation expense recognized                       $ 16,000 $ 23,000
Stock issued during period, shares, employee stock purchase plans                       500,000  
Discount from market price, offering date                       15.00%  
Fair market value of unvested shares, percentage                       15.00%  
ESPP [Member] | Black-Scholes Option Valuation Model [Member]                          
Maturity               6 months 6 months 6 months 6 months    
Risk free interest rate               1.64% 1.15% 0.65% 0.40%    
Volatility rate               97.86% 62.60% 132.68% 96.91%    
Forfeitures percentage               0.00% 0.00% 0.00% 0.00%    
Dividends rate               0.00% 0.00% 0.00% 0.00%    
ESPP [Member] | July 31, 2016 [Member] | First Offering Period [Member]                          
Shares purchased                       17,789  
ESPP [Member] | January 31, 2017 [Member] | Second Offering Period [Member]                          
Shares purchased                       18,631  
ESPP [Member] | July 31, 2017 [Member] | Third Offering Period [Member]                          
Shares purchased                       21,646  
ESPP [Member] | January 31, 2018 [Member] | Fourth Offering Period [Member]                          
Shares purchased                       18,960  
ESPP [Member] | July 31, 2018 [Member] | Fifth Offering Period [Member]                          
Shares purchased                       12,071