v3.26.1
Leases - Supplemental Cash Flow and Other Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Leases [Abstract]        
Operating cash flows from operating leases $ 11,526 $ 8,097 $ 29,194 $ 27,740
Operating cash flows from finance leases 71 147 257 492
Financing cash flows from finance leases 800 998 2,638 2,943
Lease liabilities arising from obtaining right-of-use assets from operating leases $ (6,185) $ 37,542 $ 66,232 $ 54,435