Changes in Equity - Summary of Changes in AOCI (Detail) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||||
|---|---|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
|||
| Accumulated Other Comprehensive Income Loss [Line Items] | ||||||
| Balance | $ 963,023 | $ 912,958 | $ 938,237 | $ 891,012 | ||
| Income tax effect | 685 | (1,177) | 1,053 | (989) | ||
| Balance | 1,002,560 | 938,521 | 1,002,560 | 938,521 | ||
| Foreign Currency Translation | ||||||
| Accumulated Other Comprehensive Income Loss [Line Items] | ||||||
| Balance | 2,581 | (669) | ||||
| OCI before reclassifications | 4,752 | (4,433) | ||||
| Income tax effect | 1,004 | (1,006) | ||||
| Balance | 8,337 | (6,108) | 8,337 | (6,108) | ||
| Pension Liability Adjustment | ||||||
| Accumulated Other Comprehensive Income Loss [Line Items] | ||||||
| Balance | (365) | (441) | ||||
| OCI before reclassifications | (19) | 16 | ||||
| Income tax effect | 4 | 151 | ||||
| Balance | (380) | (274) | (380) | (274) | ||
| Cash Flow Hedges | ||||||
| Accumulated Other Comprehensive Income Loss [Line Items] | ||||||
| Balance | 1,834 | 1,564 | ||||
| OCI before reclassifications | 997 | 207 | ||||
| Reclassification adjustments to net earnings | [1] | (1,141) | 368 | |||
| Income tax effect | 45 | (134) | ||||
| Balance | 1,735 | 2,005 | 1,735 | 2,005 | ||
| AOCI | ||||||
| Accumulated Other Comprehensive Income Loss [Line Items] | ||||||
| Balance | 3,535 | (2,382) | 4,050 | 454 | ||
| OCI before reclassifications | 5,730 | (4,210) | ||||
| Reclassification adjustments to net earnings | [1] | (1,141) | 368 | |||
| Income tax effect | 1,053 | (989) | ||||
| Balance | $ 9,692 | $ (4,377) | $ 9,692 | $ (4,377) | ||
| ||||||
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount before tax and reclassification adjustments of other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount after tax of reclassification adjustments of other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of equity (deficit) attributable to parent and noncontrolling interest. Excludes temporary equity. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|