v3.26.1
Debt - Schedule of Short-term and Long-term Borrowings (Details) - USD ($)
$ in Thousands
9 Months Ended
May 31, 2026
Aug. 31, 2025
Debt Instrument [Line Items]    
Total borrowings $ 100,667 $ 86,995
Short-term portion of borrowings (15,335) (800)
Total long-term borrowings $ 85,332 86,195
Series A Notes    
Debt Instrument [Line Items]    
Interest rate 3.39%  
Issuance Nov. 15, 2017  
Total borrowings $ 13,200 14,000
Short term portion of long-term debt 800  
Periodic payment amount 400  
Remaining principal payment $ 8,400  
Series B Notes    
Debt Instrument [Line Items]    
Interest rate 2.50%  
Issuance Sep. 30, 2020  
Total borrowings $ 26,000 26,000
Series C Notes    
Debt Instrument [Line Items]    
Interest rate 2.69%  
Issuance Sep. 30, 2020  
Total borrowings $ 26,000 26,000
Credit Agreement - revolving credit facility    
Debt Instrument [Line Items]    
Total borrowings 35,467 $ 20,995
Total long-term borrowings 21,000  
Short term portion of long-term debt $ 14,500