Assets Held for Sale and Divestiture - Additional Information (Detail) - USD ($) |
3 Months Ended | ||
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
Mar. 02, 2026 |
|
| Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] | |||
| Impairment charge, asset held for sale | $ 0 | ||
| Total consideration | 0 | $ 121,700,000 | |
| (Loss) Gain on sale of business | (400,000) | $ 76,400,000 | |
| Consideration from sale of business | $ 160,000,000 | ||
| Other Current Liabilities | |||
| Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] | |||
| Liability representing fair value of services expect to provide | 1,700,000 | ||
| Maximum | |||
| Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items] | |||
| Additional contingent consideration | $ 3,500,000 | ||