v3.26.1
Segment Data - Financial Information for Reportable Segments (Parenthetical) (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
Segment Reporting Information [Line Items]    
Restructuring and other expense (income), net $ 6,867 $ 3,228