Annual report pursuant to Section 13 and 15(d)

Stock-Based Compensation - Summary of Stock Option Activity (Details)

v3.5.0.2
Stock-Based Compensation - Summary of Stock Option Activity (Details) - USD ($)
12 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]    
Option shares outstanding balance, beginning(1) [1] 1,148,764 588,045
Option shares outstanding, granted(1) [1] 2,729,250 608,501
Option shares outstanding. Exercised(1) [1] (308)
Option shares outstanding, forfeited / cancelled / expired(1) [1] (614,554) (47,474)
Option shares outstanding balance, ending 3,263,460 1,148,764 [1]
Option shares outstanding balance, exercisable 1,824,862  
Weighted-average exercise price, beginning(1) [1] $ 9.20 $ 11.20
Weighted-average exercise price, granted(1) [1] 4.84 7.45
Weighted-average exercise price, exercised(1) [1] 5.60
Weighted-average exercise price, forfeited / cancelled / expired(1) [1] 7.49 12.29
Weighted-average exercise price, ending 5.88 9.20 [1]
Weighted-average exercise price, exercisable 6.60
Aggregate intrinsic value, granted(1) [1]  
Aggregate intrinsic value, exercised(1) [1]  
[1] Recast to reflect the 1-for-20 reverse stock split effected May 2015