Consolidated Statements of Shareholders' Equity - USD ($) $ in Thousands | Total | Stockholders’ Equity | Common Stock | Treasury Stock | Additional Paid in Capital | Accumulated Deficit | Noncontrolling interest | Series C Convertible Preferred Stock | Series D Convertible Preferred Stock | Series A Convertible Preferred Stock Preferred Stock | Series B Convertible Preferred Stock Preferred Stock | Series A and B Preferred Stock | Series A and B Preferred Stock Common Stock | Series A and B Preferred Stock Additional Paid in Capital | Series C and D Preferred Stock | Series C and D Preferred Stock Stockholders’ Equity | Series C and D Preferred Stock Common Stock | Series C and D Preferred Stock Additional Paid in Capital |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Ending balance | $ 12,552 | | | | | | | | | | | | | | | | | |
Beginning balance (in shares) at May. 31, 2021 | | | | | | | | 660,000 | 0 | | | | | | | | | |
Beginning balance at May. 31, 2021 | 15,135 | | | | | | | $ 15,135 | $ 0 | | | | | | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Issuance of Preferred Stock (in shares) | | | | | | | | | 1,380,000 | | | | | | | | | |
Issuance of preferred stock | 34,500 | | | | | | | | $ 34,500 | | | | | | | | | |
Issuance costs | (2,927) | | | | | | | | $ (2,927) | | | | | | | | | |
Preferred Stock Dividends Accrued (in shares) | | | | | | | | 25,633 | 53,587 | | | | | | | | | |
Preferred Stock Dividends Accrued | 1,981 | | | | | | | $ 641 | $ 1,340 | | | | | | | | | |
Conversion of Series C and D preferred stock (in shares) | | | | | | | | (685,633) | (1,433,587) | | | | | | | | | |
Conversion of Series C and D preferred stock | (48,689) | | | | | | | $ (15,776) | $ (32,913) | | | | | | | | | |
Ending balance (in shares) at May. 31, 2022 | | | | | | | | 0 | 0 | | | | | | | | | |
Ending balance at May. 31, 2022 | 0 | | | | | | | $ 0 | $ 0 | | | | | | | | | |
Beginning balance, preferred stock (in shares) at May. 31, 2021 | | | | | | | | | | 27,195 | 17,087 | | | | | | | |
Beginning balance, common stock (in shares) at May. 31, 2021 | | | 1,511,061 | | | | | | | | | | | | | | | |
Beginning balance, treasury stock (in shares) at May. 31, 2021 | | | | (36,296) | | | | | | | | | | | | | | |
Beginning balance at May. 31, 2021 | | $ (2,583) | $ 2 | $ (62) | $ 13,881 | $ (21,623) | $ 0 | | | $ 3,370 | $ 1,849 | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Extinguishment of Debt (in shares) | | | 5,083,828 | | | | | | | | | | | | | | | |
Extinguishment of debt | 3,478 | 3,478 | $ 5 | | 3,473 | | | | | | | | | | | | | |
Issuance of Dividends to Preferred Stock (in shares) | | | | | | | | | | 60,822 | 29,772 | | | | | | | |
Issuance of dividends to preferred stock | 115 | 115 | | | | (8,946) | | | | $ 6,082 | $ 2,979 | | | | | | | |
Conversion of Preferred Stock (in shares) | | | | | | | | | | 88,017 | 46,859 | | 28,765,308 | | | | 36,440,783 | |
Conversion of series A and B preferred stock | | | | | | | | | | $ (9,452) | $ (4,828) | $ 0 | $ 29 | $ 14,251 | $ 0 | $ 48,689 | $ 36 | $ 48,653 |
Service agreement stock compensation (in shares) | | | 18,036,723 | | | | | | | | | | | | | | | |
Service agreement stock compensation | 12,337 | 12,337 | $ 18 | | 12,319 | | | | | | | | | | | | | |
Preferred Stock Dividends Accrued | 0 | (1,981) | | | | (1,981) | | | | | | | | | | | | |
Initial public offering of common stock (in shares) | | | 8,000,000 | | | | | | | | | | | | | | | |
Initial public offering of common stock | 40,000 | 40,000 | $ 8 | | 39,992 | | | | | | | | | | | | | |
Offering costs of initial public offering | (4,276) | (4,276) | | | (4,276) | | | | | | | | | | | | | |
Contributions by noncontrolling interest | 6,986 | | | | | | 6,986 | | | | | | | | | | | |
Net loss including noncontrolling interests | $ (23,530) | (23,520) | | | | (23,520) | (10) | | | | | | | | | | | |
Ending balance, preferred stock (in shares) at May. 31, 2022 | | | | | | | | | | 0 | 0 | | | | | | | |
Ending balance, common stock (in shares) at May. 31, 2022 | 97,801,407 | | 97,837,703 | | | | | | | | | | | | | | | |
Ending balance, treasury stock (in shares) at May. 31, 2022 | (36,296) | | | (36,296) | | | | | | | | | | | | | | |
Ending balance at May. 31, 2022 | $ 79,235 | 72,259 | $ 98 | $ (62) | 128,293 | (56,070) | 6,976 | | | $ 0 | $ 0 | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Ending balance | 79,235 | | | | | | | | | | | | | | | | | |
Ending balance (in shares) at May. 31, 2023 | | | | | | | | 0 | 0 | | | | | | | | | |
Ending balance at May. 31, 2023 | 0 | | | | | | | $ 0 | $ 0 | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Issuance of common stock - vesting of awards (in shares) | | | 2,615,550 | | | | | | | | | | | | | | | |
Issuance of common stock - vesting of awards | $ (168) | (168) | $ 3 | | (171) | | | | | | | | | | | | | |
Issuance of common stock - restricted stock awards (in shares) | 474,105 | | | | | | | | | | | | | | | | | |
Stock-based compensation | $ 32,072 | 32,072 | | | 32,072 | | | | | | | | | | | | | |
Common stock forfeited (in shares) | | | | (4,965,432) | | | | | | | | | | | | | | |
Contributions by noncontrolling interest | 4,146 | | | | | | 4,146 | | | | | | | | | | | |
Net loss including noncontrolling interests | $ (45,606) | (44,646) | | | | (44,646) | (960) | | | | | | | | | | | |
Ending balance, preferred stock (in shares) at May. 31, 2023 | | | | | | | | | | 0 | 0 | | | | | | | |
Ending balance, common stock (in shares) at May. 31, 2023 | 95,925,630 | | 100,927,358 | | | | | | | | | | | | | | | |
Ending balance, treasury stock (in shares) at May. 31, 2023 | (5,001,728) | | | (5,001,728) | | | | | | | | | | | | | | |
Ending balance at May. 31, 2023 | $ 69,679 | $ 59,517 | $ 101 | $ (62) | $ 160,194 | $ (100,716) | $ 10,162 | | | $ 0 | $ 0 | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | | | | | |
Ending balance | $ 69,679 | | | | | | | | | | | | | | | | | |