Annual report [Section 13 and 15(d), not S-K Item 405]

Segment Reporting - Additional Information (Details)

v3.25.2
Segment Reporting - Additional Information (Details)
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Segment Reporting Information [Line Items]      
Segment Reporting, CODM, Individual Title and Position or Group Name [Extensible Enumeration] srt:ChiefExecutiveOfficerMember    
Segment Reporting, CODM, Profit (Loss) Measure, How Used, Description Accordingly, the CODM primarily uses consolidated net income as the measure of segment profit or loss and to assess performance and allocate resources, primarily through the annual budgeting and forecasting process. Budget-to-actual variances are reviewed regularly, with consideration given to the impact of certain expenses that are not considered part of the Company's core business operations.    
Europe [Member] | Geographic Concentration Risk [Member] | Long Lived Assets [Member]      
Segment Reporting Information [Line Items]      
Concentration percentage 2.00% 6.00%  
Europe [Member] | Geographic Concentration Risk [Member] | Revenue [Member]      
Segment Reporting Information [Line Items]      
Concentration percentage 1.00% 1.00% 1.00%
Other Foreign Countries [Member] | Maximum [Member] | Geographic Concentration Risk [Member] | Long Lived Assets [Member]      
Segment Reporting Information [Line Items]      
Concentration percentage 1.00% 1.00%