Government Subsidies (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
|
| Location, Statement of Income, Balance [Axis]: us-gaap:CostOfSales | |||
| Government Subsidies | |||
| Amount of contra-expense | $ 1.5 | $ 1.9 | $ 1.5 |
| Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpenses | |||
| Government Subsidies | |||
| Amount of contra-expense | $ 0.3 | $ 0.6 | $ 0.2 |