Stock-based Compensation - Schedule of Stock-based Compensation Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jan. 31, 2026 |
Jan. 31, 2025 |
Jan. 31, 2026 |
Jan. 31, 2025 |
|
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation | $ 10,231 | $ 9,317 | $ 19,550 | $ 19,732 |
| General and administrative | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation | 7,849 | 7,498 | 15,233 | 16,089 |
| Facility operations | ||||
| Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] | ||||
| Total stock-based compensation | $ 2,382 | $ 1,819 | $ 4,317 | $ 3,643 |