Employee Benefit Plan (Details) - Employee Savings Plan - USD ($) $ in Millions  | 
12 Months Ended | |
|---|---|---|
May 31, 2022  | 
May 31, 2021  | 
|
| Defined Contribution Plan Disclosure [Line Items] | ||
| Qualified non-elective contribution, employer contribution, as a percent | 3.00% | |
| Qualified non-elective contribution expense | $ 0.1 | $ 0.7 | 
| X | ||||||||||
- Definition Amount of cost for defined contribution plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. No definition available. 
  | 
| X | ||||||||||
- Details 
  |