Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Summary of Changes in Stockholders' Equity (Details)

v3.6.0.2
Stockholders' Equity - Summary of Changes in Stockholders' Equity (Details) - USD ($)
3 Months Ended 6 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Jan. 31, 2017
Jan. 31, 2016
Equity [Abstract]        
Stockholders' equity at beginning of period     $ 28,053,104 $ 32,695,621
Net loss $ (5,387,311) $ (7,037,720) (10,990,894) (14,075,111)
Public Offering     6,886,095
Stock-based compensation     2,596,280 3,030,225
Accumulated other comprehensive income     14
Issuance of common stock through employee stock purchase plan     25,615
Exercise of common stock warrants     16,808
Common stock issued in connection with a contractual agreement     55,500
Stockholders' equity at end of period $ 19,700,926 $ 28,592,330 $ 19,700,926 $ 28,592,330