Leases - Additional Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||||
|---|---|---|---|---|---|---|
Apr. 30, 2026 |
Apr. 30, 2025 |
Apr. 30, 2026 |
Apr. 30, 2025 |
Feb. 28, 2026 |
Jul. 31, 2025 |
|
| Lessee, Lease, Description [Line Items] | ||||||
| Operating lease, cost | $ 12,500 | $ 9,600 | $ 33,300 | $ 27,600 | ||
| Operating lease right-of-use assets | 175,261 | 175,261 | $ 15,200 | $ 134,526 | ||
| Lease not yet commenced, undiscounted amount | $ 0 | $ 0 | ||||
| Minimum | ||||||
| Lessee, Lease, Description [Line Items] | ||||||
| Remaining lease term | 1 year | |||||
| Maximum | ||||||
| Lessee, Lease, Description [Line Items] | ||||||
| Remaining lease term | 9 years | |||||