| Convertible Instruments and Accrued Interest (Tables)
 | 9 Months Ended | 
| Feb. 28, 2025 | 
|---|
| Convertible Instruments and Accrued Interest |  | 
| Schedule of information on dividends of convertible preferred stock |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | February 28, 2025 |  | May 31, 2024 |  
| (in thousands except conversion rate) |      | Series B |      | Series C |      | Series D |      | Series B |      | Series C |      | Series D |  
| Shares of preferred stock outstanding |  |  |  19 |  |  |  6 |  |  |  9 |  |  |  19 |  |  |  6 |  |  |  9 |  
| Common stock conversion rate |  |  | 10:1 |  |  | 2,000:1 |  |  | 1,250:1 |  |  | 10:1 |  |  | 2,000:1 |  |  | 1,250:1 |  
| Total shares of common stock if converted |  |  |  190 |  |  |  12,670 |  |  |  10,565 |  |  |  190 |  |  |  12,670 |  |  |  10,565 |  
| Undeclared dividends |  | $ |  23 |  | $ |  — |  | $ |  — |  | $ |  19 |  | $ |  — |  | $ |  — |  
| Accrued dividends |  | $ |  — |  | $ |  3,610 |  | $ |  4,287 |  | $ |  — |  | $ |  3,135 |  | $ |  3,656 |  
| Total shares of common stock if dividends converted |  |  |  46 |  |  |  7,220 |  |  |  8,574 |  |  |  38 |  |  |  6,270 |  |  |  7,312 |  | 
| Schedule of outstanding balances of convertible notes and accrued interest |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | February 28, 2025 |  | May 31, 2024 |  
| (in thousands) |      | April 2, 2021 Note |      | April 23, 2021 Note |      | Total |      | April 2, 2021 Note |      | April 23, 2021 Note |  | Total |  
| Convertible notes payable outstanding principal |  | $ |  2,831 |  | $ |  24,369 |  | $ |  27,200 |  | $ |  2,831 |  | $ |  27,369 |  | $ |  30,200 |  
| Less: Unamortized debt discount and issuance costs |  |  |  (5) |  |  |  (54) |  |  |  (59) |  |  |  (45) |  |  |  (362) |  |  |  (407) |  
| Convertible notes payable, net |  |  |  2,826 |  |  |  24,315 |  |  |  27,141 |  |  |  2,786 |  |  |  27,007 |  |  |  29,793 |  
| Accrued interest on convertible notes |  |  |  5,223 |  |  |  13,473 |  |  |  18,696 |  |  |  4,634 |  |  |  10,593 |  |  |  15,227 |  
| Outstanding convertible notes payable, net and accrued interest |  | $ |  8,049 |  | $ |  37,788 |  | $ |  45,837 |  | $ |  7,420 |  | $ |  37,600 |  | $ |  45,020 |  | 
| Schedule of reconciliation of changes to outstanding balance of convertible notes, including accrued interest |  
|  |  |  |  |  |  |  |  |  |  |  
| (in thousands) |  | April 2, 2021 Note |  | April 23, 2021 Note |  | Total |  
| Outstanding balance at May 31, 2024 |  | $ |  7,420 |  | $ |  37,600 |  | $ |  45,020 |  
| Amortization of issuance discount and costs |  |  |  40 |  |  |  308 |  |  |  348 |  
| Interest expense |  |  |  589 |  |  |  2,880 |  |  |  3,469 |  
| Fair market value of shares and warrants exchanged for repayment |  |  |  — |  |  |  (2,773) |  |  |  (2,773) |  
| Difference between market value ofcommon shares and reduction of principal
 |  |  |  — |  |  |  (227) |  |  |  (227) |  
| Outstanding balance at February 28, 2025 |  | $ |  8,049 |  | $ |  37,788 |  | $ |  45,837 |  | 
| Summary of key terms of the outstanding convertible notes |  
|  |  |  |  |  |  |  |  |  |  
|  |  | February 28, 2025 |  
|  |      | April 2, 2021 Note |      |  | April 23, 2021 Note |  |  
| Interest rate per annum |  |  |  10 | % |  |  |  10 | % |  
| Conversion price per share upon five trading days' notice |  | $ |  10.00 |  |  | $ |  10.00 |  |  
| Party that controls the conversion rights |  |  | Investor |  |  |  | Investor |  |  
| Maturity date |  |  | April 5, 2025 |  |  |  | April 23, 2025 |  |  
| Security interest |  |  | All Company assets excluding intellectual property |  |  |