LEASES Lease, Cost (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2024 |
|
| Lessee, Lease, Description [Line Items] | |||
| Operating lease cost | $ 4,856 | $ 5,320 | $ 3,791 |
| Short-Term Lease, Cost | 1,694 | 1,466 | 1,993 |
| Cash paid for amounts included in the measurement of lease liabilities | 4,227 | 4,515 | 3,112 |
| Right-of-use assets obtained in exchange for new operating lease liabilities | $ 3,007 | $ 1 | $ 11,471 |
| Weighted-average remaining lease term - operating leases | 8 years 4 months 24 days | 4 years 9 months 18 days | 5 years 4 months 24 days |
| Weighted-average discount rate - operating leases | 5.93% | 5.12% | 5.10% |
| Corporate office lease | |||
| Lessee, Lease, Description [Line Items] | |||
| Right-of-use assets obtained in exchange for new operating lease liabilities | $ 400 | ||
| Corporate Office Lease, Renewal Term | 10 years | ||
| Increase (Decrease) in Operating Lease Liability | $ 1,100 | ||
| X | ||||||||||
- Definition Amount of increase (decrease) in obligation for operating lease. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Weighted average discount rate for operating lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of short-term lease cost, excluding expense for lease with term of one month or less. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|