Condensed Consolidated Statement of Changes in Stockholders' Equity (Unaudited) - USD ($) $ in Thousands | Total | Parent | Common Stock | Additional Paid in Capital | Treasury Stock | Accumulated deficit | Noncontrolling Interest | Series C Convertible Redeemable Preferred Stock | Series D Convertible Redeemable 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 A Preferred Stock Preferred Stock | Series B Preferred Stock Preferred Stock |
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 of Preferred Stock | (2,926) | | | | | | | | $ (2,926) | | | | | |
Ending balance (in shares) at Nov. 30, 2021 | | | | | | | | 660,000 | 1,380,000 | | | | | |
Ending balance at Nov. 30, 2021 | 46,709 | | | | | | | $ 15,135 | $ 31,574 | | | | | |
Beginning balance, common stock (in shares) at May. 31, 2021 | | | 1,511,061 | | | | | | | | | | | |
Beginning balance, preferred stock (in shares) at May. 31, 2021 | | | | | | | | | | | | | 27,195 | 17,087 |
Beginning balance at May. 31, 2021 | (2,583) | | $ 1 | $ 13,882 | $ (62) | $ (21,623) | | | | | | | $ 3,370 | $ 1,849 |
Beginning balance at May. 31, 2021 | 12,552 | | | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Extinguishment of Debt (in shares) | | | 5,083,828 | | | | | | | | | | | |
Extinguishment of Debt | 3,478 | | $ 5 | 3,473 | | | | | | | | | | |
Issuance of Dividends to Preferred Stock (in shares) | | | | | | | | | | | | | 60,822 | 29,772 |
Stock Issued During Period, Value, Stock Dividend | 115 | | | | | (8,946) | | | | | | | $ 6,082 | $ 2,979 |
Conversion of Preferred Stock (in shares) | | | | | | | | | | | 28,765,308 | | 88,017 | 46,859 |
Conversion of Preferred Stock | | | | | | | | | | $ 0 | $ 29 | $ 14,251 | $ (9,452) | $ (4,828) |
Service agreement stock compensation (in shares) | | | 18,036,723 | | | | | | | | | | | |
Service agreement stock compensation | 12,337 | | $ 18 | 12,319 | | | | | | | | | | |
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest | (14,268) | | | | | (14,268) | | | | | | | | |
Ending balance, preferred stock (in shares) at Nov. 30, 2021 | | | | | | | | | | | | | 0 | 0 |
Ending balance, common stock (in shares) at Nov. 30, 2021 | | | 53,396,920 | | | | | | | | | | | |
Ending balance at Nov. 30, 2021 | (921) | | $ 53 | 43,925 | (62) | (44,837) | | | | | | | $ 0 | $ 0 |
Ending balance at Nov. 30, 2021 | 45,788 | | | | | | | | | | | | | |
Beginning balance (in shares) at Aug. 31, 2021 | | | | | | | | 660,000 | 1,304,000 | | | | | |
Beginning balance at Aug. 31, 2021 | 45,037 | | | | | | | $ 15,135 | $ 29,902 | | | | | |
Increase (Decrease) in Temporary Equity [Roll Forward] | | | | | | | | | | | | | | |
Issuance of Preferred Stock (in shares) | | | | | | | | | 76,000 | | | | | |
Issuance of Preferred Stock | 1,900 | | | | | | | | $ 1,900 | | | | | |
Issuance Costs of Preferred Stock | (228) | | | | | | | | $ (228) | | | | | |
Ending balance (in shares) at Nov. 30, 2021 | | | | | | | | 660,000 | 1,380,000 | | | | | |
Ending balance at Nov. 30, 2021 | 46,709 | | | | | | | $ 15,135 | $ 31,574 | | | | | |
Beginning balance, common stock (in shares) at Aug. 31, 2021 | | | 53,396,920 | | | | | | | | | | | |
Beginning balance at Aug. 31, 2021 | (750) | | $ 53 | 43,925 | (62) | (44,666) | | | | | | | | |
Beginning balance at Aug. 31, 2021 | 44,287 | | | | | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest | (171) | | | | | (171) | | | | | | | | |
Ending balance, preferred stock (in shares) at Nov. 30, 2021 | | | | | | | | | | | | | 0 | 0 |
Ending balance, common stock (in shares) at Nov. 30, 2021 | | | 53,396,920 | | | | | | | | | | | |
Ending balance at Nov. 30, 2021 | (921) | | $ 53 | 43,925 | (62) | (44,837) | | | | | | | $ 0 | $ 0 |
Ending balance at Nov. 30, 2021 | $ 45,788 | | | | | | | | | | | | | |
Beginning balance, common stock (in shares) at May. 31, 2022 | 97,801,406 | | 97,837,703 | | | | | | | | | | | |
Beginning balance at May. 31, 2022 | $ 79,235 | $ 72,259 | $ 98 | 128,293 | (62) | (56,070) | $ 6,976 | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Stock-based compensation (in shares) | | | 1,110,379 | | | | | | | | | | | |
Stock-based compensation | 22,398 | 22,398 | $ 1 | 22,397 | | | | | | | | | | |
Capital contribution to noncontrolling interest | 1,746 | | | | | | 1,746 | | | | | | | |
Stock cancellation (in shares) | | | (4,965,432) | | | | | | | | | | | |
Stock Cancellation | 0 | | $ (5) | 5 | | | | | | | | | | |
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest | $ (31,409) | (31,148) | | | | (31,148) | (261) | | | | | | | |
Ending balance, common stock (in shares) at Nov. 30, 2022 | 93,946,353 | | 93,982,650 | | | | | | | | | | | |
Ending balance at Nov. 30, 2022 | $ 71,970 | 63,509 | $ 94 | 150,695 | (62) | (87,218) | 8,461 | | | | | | | |
Beginning balance, common stock (in shares) at Aug. 31, 2022 | | | 92,872,271 | | | | | | | | | | | |
Beginning balance at Aug. 31, 2022 | 76,901 | 68,307 | $ 93 | 128,877 | (62) | (60,601) | 8,594 | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | | |
Stock-based compensation (in shares) | | | 1,110,379 | | | | | | | | | | | |
Stock-based compensation | 21,819 | 21,819 | $ 1 | 21,818 | | | | | | | | | | |
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest | $ (26,750) | (26,617) | | | | (26,617) | (133) | | | | | | | |
Ending balance, common stock (in shares) at Nov. 30, 2022 | 93,946,353 | | 93,982,650 | | | | | | | | | | | |
Ending balance at Nov. 30, 2022 | $ 71,970 | $ 63,509 | $ 94 | $ 150,695 | $ (62) | $ (87,218) | $ 8,461 | | | | | | | |