v3.26.1
Goodwill and Other Long-Lived Assets - Additional Information (Detail) - USD ($)
3 Months Ended 12 Months Ended
May 29, 2024
May 31, 2025
May 31, 2026
May 31, 2025
May 31, 2024
Goodwill And Other Intangible Assets [Line Items]          
Goodwill   $ 376,480,000 $ 500,784,000 $ 376,480,000 $ 331,595,000
Amortization expense     17,096,000 13,659,000 11,787,000
Percentage of discounted rate for risks inherent in cash flow projections   14.00%      
Impairment charge of long-lived assets [1]         32,975,000
Impairment charge       50,813,000 [1] $ 32,975,000
Impairment of goodwill   $ 50,050,000      
Operating lease assets   22,699,000 42,888,000 22,699,000  
Sustainable Energy Solutions          
Goodwill And Other Intangible Assets [Line Items]          
Sale of stock, percentage of ownership before transaction 51.00%        
Impairment of goodwill $ 14,210,000        
Other          
Goodwill And Other Intangible Assets [Line Items]          
Impairment of goodwill     $ 212,500,000 $ 212,500,000  
Goodwill, Impairment Loss, Statement of Income or Comprehensive Income [Extensible Enumeration]     Impairment charge Impairment charge  
Fair Value, Inputs, Level 2 | Sustainable Energy Solutions          
Goodwill And Other Intangible Assets [Line Items]          
Impairment charge of long-lived assets 32,203,000        
Fair Value, Nonrecurring          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets   35,547,000 $ 0 $ 35,547,000  
Fair Value, Nonrecurring | Fair Value, Inputs, Level 2          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets   35,547,000   35,547,000  
Long Lived Assets Held And Used          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets   9,661,000   $ 9,661,000  
Carrying value long-lived assets   $ 59,711,000      
Long Lived Assets Held And Used | Sustainable Energy Solutions          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets 28,222,000        
Carrying value long-lived assets $ 46,215,000        
Minimum          
Goodwill And Other Intangible Assets [Line Items]          
Definite-lived intangible assets, estimated useful lives     10 years    
Maximum          
Goodwill And Other Intangible Assets [Line Items]          
Definite-lived intangible assets, estimated useful lives     20 years    
[1] See “Use of Non-GAAP Financial Measures and Definitions” for additional information.