Leases - Schedule of Components of Operating Lease Costs (Parenthetical) (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | 58 Months Ended | ||||
|---|---|---|---|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2026 |
May 31, 2025 |
Mar. 31, 2031 |
|||
| Lessee, Lease, Description [Line Items] | |||||||
| Sublease income expected over the remaining sublease term | [1] | $ 1,585 | $ 2,026 | $ 5,234 | $ 4,960 | ||
| Forecast | |||||||
| Lessee, Lease, Description [Line Items] | |||||||
| Sublease income expected over the remaining sublease term | $ 31,600 | ||||||
| |||||||