v3.24.1.1.u2
Segment Information - Net Income Reconciliation (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Reconciliation of Operating Profit (Loss) from Segments to Consolidated [Abstract]        
Segment profit $ 69,234 $ 66,291 $ 194,824 $ 177,827
Unallocated amounts:        
Administrative costs (5,691) (7,060) (17,625) (18,429)
Gain on sale of business 0 3,770 0 3,770
Investment and other income 1,596 785 4,718 1,596
Interest expense (728) (753) (2,284) (2,886)
Income before income taxes $ 64,411 $ 63,033 $ 179,633 $ 161,878