Stock-Based Compensation (Details) - Stock Option [Member] - USD ($) $ / shares in Units, $ in Thousands |
12 Months Ended |
Jul. 31, 2016 |
Jul. 31, 2015 |
Jul. 31, 2014 |
| Stock Options |
|
|
|
| Stock options outstanding, Beginning balance |
14,023
|
26,548
|
|
| Stock options, Granted |
87,707
|
|
32,155
|
| Stock options, Exercised |
(1,631)
|
(12,053)
|
(3,065)
|
| Stock options, Cancelled/Forfeited |
(298)
|
(472)
|
(2,542)
|
| Stock options outstanding, Ending balance |
99,801
|
14,023
|
26,548
|
| Stock options, Vested and expected to vest |
99,801
|
|
|
| Stock options, Exercisable |
13,723
|
|
|
| Weighted- average Exercise Price |
|
|
|
| Weighted- average exercise price outstanding, Beginning balance |
$ 5.67
|
$ 5.67
|
|
| Weighted- average exercise price outstanding, Granted |
50.00
|
|
5.67
|
| Weighted- average exercise price outstanding, Exercised |
5.67
|
5.67
|
5.67
|
| Weighted- average exercise price outstanding, Cancelled/Forfeited |
5.67
|
5.67
|
5.67
|
| Weighted- average exercise price outstanding, Ending balance |
44.63
|
$ 5.67
|
$ 5.67
|
| Weighted- average exercise price outstanding, Vested and expected to vest |
44.63
|
|
|
| Weighted- average exercise price outstanding, Exercisable |
$ 29.25
|
|
|
| Weighted- average Remaining Contractual Term (in years) |
|
|
|
| Weighted- average remaining contractual term, Outstanding |
3 years 1 month 6 days
|
5 years 4 months 24 days
|
5 years 8 months 12 days
|
| Weighted- average remaining contractual term, Vested and expected to vest |
3 years 1 month 6 days
|
|
|
| Weighted- average remaining contractual term, Exercisable |
3 years 3 months 18 days
|
|
|
| Aggregate Intrinsic Value |
|
|
|
| Aggregate intrinsic value, Outstanding |
$ 152
|
$ 251
|
$ 112
|
| Aggregate intrinsic value, Vested and expected to vest |
152
|
|
|
| Aggregate intrinsic value, Exercisable |
$ 81
|
|
|