Share-Based Compensation (Details) - USD ($) shares in Millions, $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Nov. 30, 2021 |
Nov. 30, 2020 |
Nov. 30, 2021 |
Nov. 30, 2020 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Charges against income for share-based payment arrangements | $ 3.0 | $ 2.4 | $ 5.4 | $ 4.3 |
| Unrecognized compensation expenses related to share-based payment arrangements | $ 22.1 | $ 22.1 | ||
| Recognition period | 3 years | |||
| 2020 Stock And Incentive Award Plan | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Amount of shares issuable through two stock-based compensation plans (shares) | 1.5 | 1.5 | ||
| Employee Stock Purchase Plan | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Amount of shares issuable through two stock-based compensation plans (shares) | 2.4 | 2.4 | ||