Stockholders' Equity (Details) - USD ($) |
3 Months Ended | 9 Months Ended | ||||
|---|---|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
Mar. 23, 2026 |
Sep. 29, 2020 |
|
| Share Repurchase Program [Line Items] | ||||||
| Aggregate registered amount available for sale of securities under shelf registration state, additional amount | $ 125,000,000 | |||||
| Maximum amount authorized by the board of directors for the repurchase of shares of the company's common stock | $ 100,000,000 | |||||
| Treasury Stock, Shares, Acquired | 0 | 0 | ||||
| Adjustment to reflect redemption value of convertible preferred stock (including accrued dividends and change in fair value of embedded derivatives) | $ 10,810,000 | $ 44,534,000 | $ 76,785,000 | |||
| Additional Paid-in Capital | ||||||
| Share Repurchase Program [Line Items] | ||||||
| Adjustment to reflect redemption value of convertible preferred stock (including accrued dividends and change in fair value of embedded derivatives) | $ 10,810,000 | $ 44,534,000 | $ (111,117,000) | $ 70,406,000 | ||