Commitments and Contingencies (Details) - USD ($) $ in Thousands |
May 31, 2024 |
Aug. 31, 2023 |
|---|---|---|
| Commitments and Contingencies Disclosure [Abstract] | ||
| Expressly limited performance guarantee | $ 2,192,000 | $ 1,793,000 |
| Portion of guarantee not recoverable | 59,000 | 51,000 |
| Letter of credit and surety bonds outstanding | $ 1,654,531 | $ 1,294,653 |