v3.26.1
Goodwill and Other Long-Lived Assets - Summary of Other Intangible Assets by Class (Detail) - USD ($)
$ in Thousands
May 31, 2026
May 31, 2025
Other Intangible Assets [Line Items]    
Indefinite-lived intangibles assets, Cost $ 105,081 $ 83,981
Definite-lived intangibles assets, Cost 324,624 195,304
Total intangible assets, Cost 429,705 279,285
Total intangible assets, Accumulated Amortization 106,944 88,887
Definite-lived intangible assets, Accumulated Amortization 106,944 88,887
Trade name    
Other Intangible Assets [Line Items]    
Indefinite-lived intangibles assets, Cost 105,081 83,981
Patents    
Other Intangible Assets [Line Items]    
Definite-lived intangibles assets, Cost 7,000  
Definite-lived intangible assets, Accumulated Amortization 642  
Trade names    
Other Intangible Assets [Line Items]    
Definite-lived intangibles assets, Cost 16,374 8,004
Definite-lived intangible assets, Accumulated Amortization 2,535 923
Customer relationships    
Other Intangible Assets [Line Items]    
Definite-lived intangibles assets, Cost 242,200 149,188
Definite-lived intangible assets, Accumulated Amortization 87,249 76,027
Non-compete agreements    
Other Intangible Assets [Line Items]    
Definite-lived intangibles assets, Cost 5,208 2,708
Definite-lived intangible assets, Accumulated Amortization 3,073 2,708
Technology know-how    
Other Intangible Assets [Line Items]    
Definite-lived intangibles assets, Cost 53,842 35,404
Definite-lived intangible assets, Accumulated Amortization $ 13,445 $ 9,229