XML 72 R54.htm IDEA: XBRL DOCUMENT v3.24.3
Leases - Summary of Supplemental Cash Flow Information and Non-Cash Activity Related to Leases (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Cash paid for amounts included in the measurement of lease liabilities:      
Operating cash flows for operating leases $ 25,684 $ 25,414 $ 25,351
Operating cash flows for finance leases 414 393 403
Financing cash flows for finance leases 2,388 2,049 1,483
Lease liabilities arising from obtaining right-of-use assets:      
Operating leases 28,538 15,279 12,000
Finance leases $ 4,362 $ 3,596 $ 534