XML 15 R4.htm IDEA: XBRL DOCUMENT v3.24.3
Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Statement of Comprehensive Income [Abstract]      
Other comprehensive (loss) income, tax (benefit) expense $ (277) $ (855) $ 1,399