v3.25.2
Goodwill and Other Long-Lived Assets - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
May 29, 2024
May 31, 2025
May 31, 2025
May 31, 2024
May 31, 2023
Goodwill And Other Intangible Assets [Line Items]          
Goodwill   $ 376,480 $ 376,480 $ 331,595 $ 336,178
Amortization expense     13,659 11,787 11,877
Percentage of discounted rate for risks inherent in cash flow projections   14.00%      
Impairment charge of long-lived assets     50,813 [1]   484
Impairment charge     50,813 32,975 [2] 484
Impairment of goodwill   $ 50,050   (14,210)  
Operating lease assets   22,699 22,699 18,667  
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        
Other          
Goodwill And Other Intangible Assets [Line Items]          
Goodwill       0 $ 13,645
Impairment of goodwill     212,500 212,500  
Impairment of goodwill       (14,210)  
Fair Value, Inputs, Level 2 | Sustainable Energy Solutions          
Goodwill And Other Intangible Assets [Line Items]          
Impairment charge of long-lived assets 32,203        
Fair Value, Nonrecurring          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets   35,547 35,547 31,367  
Fair Value, Nonrecurring | Fair Value, Inputs, Level 2          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets       $ 31,367  
Fair Value, Nonrecurring | Fair Value, Inputs, Level 3          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets   35,547 35,547    
Long Lived Assets Held And Used          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets   9,661 $ 9,661    
Carrying value long-lived assets   $ 59,711      
Long Lived Assets Held And Used | Sustainable Energy Solutions          
Goodwill And Other Intangible Assets [Line Items]          
Fair market value of assets 28,222        
Carrying value long-lived assets $ 46,215        
Minimum          
Goodwill And Other Intangible Assets [Line Items]          
Definite-lived intangible assets, estimated useful lives   10 years 10 years    
Maximum          
Goodwill And Other Intangible Assets [Line Items]          
Definite-lived intangible assets, estimated useful lives   20 years 20 years    
[1] Significant pre-tax impairment charges include $50,050 in the fourth quarter of fiscal 2025 related to the write-down of intangible assets associated with GTI.
[2] Significant pre-tax impairment charges include $32,203 in the fourth quarter of fiscal 2024 due to the deconsolidation of our former SES operating segment.