v3.26.3
Basis of Presentation and Summary of Significant Accounting Policies - Narrative (Details) - USD ($)
3 Months Ended 12 Months Ended
May 31, 2026
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Property, Plant, and Equipment [Line Items]        
Allowance for credit loss   $ 1,200,000 $ 1,200,000 $ 0
Depreciation   8,200,000 7,600,000 8,000,000.0
Cost of goods sold, depreciation   4,100,000 4,000,000.0 3,900,000
Impairment of goodwill   0 0 0
Impairment of long-lived assets $ 0 0 0 0
Total long-term borrowings   85,249,000 86,195,000  
Self-insurance reserves   0 0  
Shipping and handling costs   21,000,000.0 18,200,000 17,300,000
Research and development expense   8,100,000 8,700,000 8,000,000.0
Foreign currency transactions (loss) gain, before tax   (300,000) 700,000 (1,300,000)
Unrealized foreign currency gains (losses)   $ 300,000 (355,000) (200,000)
Restricted Stock Units | Nonemployee directors        
Property, Plant, and Equipment [Line Items]        
Vesting period   1 year    
Foreign Currency Forward Contracts        
Property, Plant, and Equipment [Line Items]        
Foreign currency forward contracts outstanding   $ 10,200,000    
Unrealized foreign currency gains (losses)   0 0 0
Realized foreign currency gains (losses)   0 0 0
Senior Notes        
Property, Plant, and Equipment [Line Items]        
Total long-term borrowings   65,200,000    
Level 2 | Senior Notes        
Property, Plant, and Equipment [Line Items]        
Fair value of senior notes   60,800,000    
Level 2 | Recurring        
Property, Plant, and Equipment [Line Items]        
Assets   0    
Liabilities   0    
Level 2 | Nonrecurring        
Property, Plant, and Equipment [Line Items]        
Assets   0 0 0
Liabilities   $ 0 $ 0 $ 0
ERP systems and certain related software        
Property, Plant, and Equipment [Line Items]        
Property and equipment, useful life   5 years    
Minimum        
Property, Plant, and Equipment [Line Items]        
Service period of employee awards   1 year    
Minimum | Internal-use software and capitalized cloud computing implementation costs        
Property, Plant, and Equipment [Line Items]        
Property and equipment, useful life   3 years    
Maximum        
Property, Plant, and Equipment [Line Items]        
Service period of employee awards   3 years    
Maximum | Internal-use software and capitalized cloud computing implementation costs        
Property, Plant, and Equipment [Line Items]        
Property and equipment, useful life   5 years