v3.26.3
Income Taxes (Schedule of Effective income Tax Rate Reconciliation) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Effective Income Tax Rate Reconciliation [Line Items]      
U.S. statutory rate $ 15,816 $ 19,863 $ 16,601
Tax Jurisdiction of Domicile [Extensible Enumeration] us-gaap:DomesticCountryMember us-gaap:DomesticCountryMember us-gaap:DomesticCountryMember
State and local income tax, net of federal (national) income tax effect $ 1,300 $ 1,571 $ 1,471
Interest on net equity deduction   (332)  
Foreign jurisdictional tax rate differences     1,658
Effect of changes in tax laws or rates enacted in the current period 0    
Effect of cross-border tax laws 713    
Clean energy credits (961)    
Other (751)    
Changes in valuation allowances 0    
Nontaxable or nondeductible items 514    
NOLs   (242) (1,349)
Federal credits   (1,691) (1,256)
Changes in unrecognized tax benefits 0 (385) (221)
International credits   0 (4,386)
Other 526 1,747 275
Total income tax provision $ 19,662 $ 20,531 $ 12,793
U.S statutory rate, percentage 21.00% 21.00% 21.00%
State and local income tax, net of federal (national) income tax effect, percentage 1.70% 1.70% 1.90%
Foreign jurisdictional tax rate differences, percentage   (0.40%) 2.10%
Effect of changes in tax laws or rates enacted in the current period, percentage 0.00%    
Effect of cross-border tax laws, percentage 0.90%    
Clean energy credits, percentage (1.30%)    
Other, percentage (1.00%)    
Changes in valuation allowances, percentage 0.00%    
Nontaxable or nondeductible items, percentage 0.70%    
NOLs, percentage   (0.30%) (1.70%)
Federal Credits, percentage   (1.80%) (1.60%)
Changes in unrecognized tax benefits, percentage 0.00% (0.40%) (0.30%)
International credits, percentage   0.00% (5.50%)
Other, percentage 0.70% 1.90% 0.30%
Effective tax rate, percentage 26.10% 21.70% 16.20%
Brazil [Member]      
Effective Income Tax Rate Reconciliation [Line Items]      
Interest on net equity deduction $ (1,754)    
Foreign jurisdictional tax rate differences 1,313    
Dividend withholding tax 908    
Other $ 99    
Interest on net equity deduction, percentage (2.30%)    
Foreign jurisdictional tax rate differences, percentage 1.70%    
Dividend withholding tax, percentage 1.20%    
Other, percentage 0.10%    
China [Member]      
Effective Income Tax Rate Reconciliation [Line Items]      
Dividend withholding tax $ 988    
Other $ 203    
Dividend withholding tax, percentage 1.30%    
Other, percentage 0.30%    
Turkiye [Member]      
Effective Income Tax Rate Reconciliation [Line Items]      
Free trade zone exception $ (3,109)    
Dividend withholding tax 2,201    
Other $ 794    
Free trade zone exception, percentage (4.00%)    
Dividend withholding tax, percentage 2.90%    
Other, percentage 1.10%    
Other foreign jurisdictions [Member]      
Effective Income Tax Rate Reconciliation [Line Items]      
Foreign jurisdictional tax rate differences $ 862    
Foreign jurisdictional tax rate differences, percentage 1.10%