XML 108 R91.htm IDEA: XBRL DOCUMENT v3.23.3
Income Taxes - Summary of Income (Loss) from Continuing Operations Before Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Income from continuing operations before income taxes [Abstract]      
United States $ (32,541) $ 204,150 $ 195,037
Foreign 4,465 12,526 12,952
Loss (income) from continuing operations before income taxes $ (28,076) $ 216,676 $ 207,989