Segment Information - Additional Information (Detail) |
12 Months Ended |
|---|---|
|
May 31, 2026
Segment
| |
| Segment Reporting [Abstract] | |
| Number of reportable segments | Segment | 2 |
| Segment Reporting, CODM, Individual Title and Position or Group Name [Extensible Enumeration] | srt:ChiefExecutiveOfficerMember |
| Segment Reporting, CODM, Profit (Loss) Measure, How Used, Description | The results of each segment are regularly provided to chief operating decision maker ("CODM") to assess the performance of the segments and make decisions regarding the allocation of resources to the segments. |