Stock-Based Compensation Plans - Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
|
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Share-based compensation expense | $ 10,128 | $ 90 |
| Location, Statement of Income, Balance [Axis]: us-gaap:CostOfRevenue | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Share-based compensation expense | 31 | 90 |
| Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense | ||
| Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | ||
| Share-based compensation expense | $ 10,097 | $ 0 |