Revenue from Contracts with Customers - Contract Balances with Customers (Details) - USD ($) $ in Thousands |
Nov. 30, 2021 |
May 31, 2021 |
|---|---|---|
| Revenue from Contract with Customer [Abstract] | ||
| Receivables | $ 38,205 | $ 35,405 |
| Contract assets | 0 | 0 |
| Contract liabilities | $ 690 | $ 426 |