v3.26.1
Long Term Debt - Additional Information (Detail) - USD ($)
1 Months Ended 12 Months Ended
Apr. 04, 2025
Jul. 20, 2022
Jun. 30, 2026
May 31, 2026
May 31, 2025
May 31, 2024
May 31, 2023
Apr. 03, 2025
Jun. 30, 2022
Debt Instrument [Line Items]                  
Total debt       $ 800,000,000          
Amortization of debt issuance costs on line of credit       2,000,000 $ 3,200,000 $ 3,400,000      
Accrued interest       11,000,000 11,100,000        
Payments of Debt Issuance Costs       0 2,000,000 $ 0      
Amortization of deferred debt issuance costs       800,000 1,900,000        
Interest expense       24,100,000 38,100,000        
Swap credit       300,000 1,500,000        
Debt instrument accrued interest       10,900,000 11,000,000        
Debt issuance costs incurred             $ 6,700,000    
Interest expenses related to amortization, debt issuance costs       800,000          
Debt instrument interest expense       29,900,000 30,200,000        
Principal payments in 2026       22,500,000          
Unamortized debt Issuance expense       6,300,000 8,300,000        
Finance leases       $ 0          
Interest Expense [Member]                  
Debt Instrument [Line Items]                  
Percentage of annual commitment fee       0.25%          
Commitment fee       $ 500,000 500,000        
Term Loan Facility [Member]                  
Debt Instrument [Line Items]                  
Unamortized debt Issuance expense       2,900,000 4,100,000        
Additional required principal payments until the first quarter of fiscal year 2029       0          
Term Loan Facility [Member] | Subsequent Event [Member]                  
Debt Instrument [Line Items]                  
Repayment of debt     $ 20,000,000            
Additional required principal payments until the first quarter of fiscal year 2029     $ 0            
Term Loan [Member]                  
Debt Instrument [Line Items]                  
Repayment of debt       45,000,000          
Debt issuance cost write off       400,000          
Total debt       405,000,000 450,000,000        
Payment for debt extinguishment cost       1,600,000          
Accrued interest       100,000 100,000        
Payments of Debt Issuance Costs         1,000,000        
Senior Notes [Member]                  
Debt Instrument [Line Items]                  
Debt instrument purchase amount       3,500,000          
Debt instrument, face amount   $ 350,000,000              
Total debt       346,500,000 350,000,000        
Debt instrument, interest rate, stated percentage   8.625%              
Debt instrument, term   2030 years              
Unamortized debt Issuance expense       3,400,000 4,200,000        
Credit Agreement [Member]                  
Debt Instrument [Line Items]                  
Unsecured revolving line of credit, total amount available       250,000,000          
Revolving credit facility drawn $ 100,000,000       48,500,000        
Unsecured revolving line of credit, advances 100,000,000       48,500,000        
Interest expense       3,500,000 1,000,000        
Credit Agreement [Member] | 3M Food Safety Transaction                  
Debt Instrument [Line Items]                  
Unsecured revolving line of credit, total amount available                 $ 150,000,000
Credit Agreement [Member] | Term Loan Facility [Member]                  
Debt Instrument [Line Items]                  
Debt instrument, face amount                 $ 650,000,000
Credit Agreement [Member] | 2025 Term Loan [Member]                  
Debt Instrument [Line Items]                  
Debt instrument, face amount 450,000,000                
Loss on extinguishment of debt, net 1,900,000                
Debt financing fees 2,800,000                
Unamortized debt Issuance expense 2,000,000                
General and administrative expenses $ 800,000                
Credit Agreement [Member] | Term Loan and Revolver Facility Borrowings [Member]                  
Debt Instrument [Line Items]                  
Debt instrument interest rate effective percentage 1.75%             2.35%  
Leverage ratio 1                
Five Year Senior Secured Revolving Facility [Member] | Credit Agreement [Member]                  
Debt Instrument [Line Items]                  
Line of credit debt issuance costs gross         1,000,000        
Payment for debt extinguishment cost       400,000          
Amortization of debt issuance costs on line of credit       300,000 500,000        
Five Year Senior Secured Revolving Facility [Member] | Credit Agreement [Member] | 3M Food Safety Transaction                  
Debt Instrument [Line Items]                  
Unamortized debt Issuance expense       1,300,000 1,700,000        
Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Repayment of debt       51,500,000          
Total debt       $ 48,500,000 $ 100,000,000        
Revolving Credit Facility | Minimum                  
Debt Instrument [Line Items]                  
Percentage of annual commitment fee       0.15%          
Revolving Credit Facility | Maximum                  
Debt Instrument [Line Items]                  
Percentage of annual commitment fee       0.25%          
Revolving Credit Facility | Term Loan Facility [Member]                  
Debt Instrument [Line Items]                  
Repayment of debt             $ 100,000,000    
Revolving Credit Facility | Credit Agreement [Member]                  
Debt Instrument [Line Items]                  
Unsecured revolving line of credit, total amount available $ 250,000,000                
Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member] | Credit Agreement [Member] | Minimum                  
Debt Instrument [Line Items]                  
Unsecured revolving line of credit, spread       137.50%          
Debt instrument interest rate effective percentage       5.37%          
Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member] | Credit Agreement [Member] | Maximum                  
Debt Instrument [Line Items]                  
Unsecured revolving line of credit, spread       175.00%          
Debt instrument interest rate effective percentage       6.10%