Net Income (Loss) Per Share (Details 2) - shares |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2025 |
Apr. 30, 2025 |
Apr. 30, 2024 |
Apr. 30, 2023 |
|
| Stock options | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from EPS (in shares) | 0 | 0 | 181,646 | 184,000 |
| Stock awards | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from EPS (in shares) | 0 | 0 | 3,764,735 | 3,846,177 |
| Convertible senior notes | ||||
| Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items] | ||||
| Antidilutive securities excluded from EPS (in shares) | 0 | 0 | 3,550,532 | 3,516,480 |