Quarterly report pursuant to Section 13 or 15(d)

Income Taxes - Additional Information (Details)

v3.23.2
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2023
May 31, 2022
May 31, 2023
May 31, 2022
Income Tax Disclosure Additional Details [Table] [Line Items]        
Income tax (benefit) expense $ 4,688 $ 1,377 $ 10,058 $ 4,495
Effective Income Tax Rate Reconciliation, Percent 21.60% 25.30% 24.80% 32.40%
Federal Statutory Income Tax Rate, Percent     21.00%  
Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest $ 21,664 $ 5,438 $ 40,602 $ 13,862