Restructuring - Additional Information (Detail) - USD ($) |
12 Months Ended | ||
---|---|---|---|
May 31, 2025 |
May 31, 2024 |
May 31, 2023 |
|
MAP to Growth | |||
Restructuring Cost and Reserve [Line Items] | |||
Restructuring costs | $ 0 | $ 0 | $ 3,800,000 |
MAP 2025 | |||
Restructuring Cost and Reserve [Line Items] | |||
Total expected costs increased, amount | 13,900,000 | ||
MAP 2025 | Severance and benefit charges | |||
Restructuring Cost and Reserve [Line Items] | |||
Total expected costs increased, amount | 10,600,000 | ||
MAP 2025 | Facility Closure and Other Related Costs | |||
Restructuring Cost and Reserve [Line Items] | |||
Total expected costs increased, amount | 2,800,000 | ||
MAP 2025 | Other Restructuring Costs | |||
Restructuring Cost and Reserve [Line Items] | |||
Total expected costs increased, amount | $ 500,000 |