Annual report pursuant to Section 13 and 15(d)

Net Periodic Benefit Costs (Detail)

v3.23.3
Net Periodic Benefit Costs (Detail) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Other Postretirement Benefit Plan, Defined Benefit      
Defined Benefit Plan Disclosure [Line Items]      
Foreign Defined Benefit Plan, Net Periodic Benefit Cost $ (100)   $ (200)
Foreign Plan Member      
Defined Benefit Plan Disclosure [Line Items]      
Interest cost $ 306 $ 159 $ 198
Defined Benefit Plan, Net Periodic Benefit Cost (Credit) Excluding Service Cost, Statement of Income or Comprehensive Income [Extensible Enumeration] Other Nonoperating Income (Expense) Other Nonoperating Income (Expense) Other Nonoperating Income (Expense)
Defined Benefit Plan, Amortization of Prior Service Cost (Credit) $ 3 $ 3 $ 4
Amortization of actuarial loss (10) (112) (139)
Defined Benefit Plan, Net Periodic Benefit Cost (Credit), Gain (Loss) Due to Settlement (37) (145) 0
Foreign Defined Benefit Plan, Net Periodic Benefit Cost 171 193 110
Defined Benefit Plan, Service Cost 60 90 116
Domestic Plan Member      
Defined Benefit Plan Disclosure [Line Items]      
Interest cost 1,694 1,165 1,156
Defined Benefit Plan, Expected Return (Loss) on Plan Assets (1,984) (2,060) (1,610)
Amortization of actuarial loss 878 1,219 1,322
Foreign Defined Benefit Plan, Net Periodic Benefit Cost $ 588 $ 324 $ 868