Note 28 - Financial Risk Management and Financial Instruments (Tables)
|
12 Months Ended |
May 31, 2026 |
| Notes Tables |
|
| Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block] |
| | | | | | | | | | | | | | | May 31, | |
| | | Level 1 | | | Level 2 | | | Level 3 | | | 2026 | |
| Financial assets | | | | | | | | | | | | | | | | |
| Cash and cash equivalents | | $ | 225,977 | | | $ | — | | | $ | — | | | $ | 225,977 | |
| Marketable securities | | | 5,289 | | | | — | | | | — | | | | 5,289 | |
| Equity investments measured at fair value | | | 1,197 | | | | 990 | | | | 4,364 | | | | 6,551 | |
| Total recurring fair value measurements | | $ | 232,463 | | | $ | 990 | | | $ | 4,364 | | | $ | 237,817 | |
| | | | | | | | | | | | | | | May 31, | |
| | | Level 1 | | | Level 2 | | | Level 3 | | | 2025 | |
| Financial assets | | | | | | | | | | | | | | | | |
| Cash and cash equivalents | | $ | 221,666 | | | $ | — | | | $ | — | | | $ | 221,666 | |
| Marketable Securities | | | 34,697 | | | | — | | | | — | | | | 34,697 | |
| Equity investments measured at fair value | | | 909 | | | | 1,063 | | | | 8,160 | | | | 10,132 | |
| Financial liabilities | | | | | | | | | | | | | | | | |
| Warrant liability | | | — | | | | — | | | | (1,092 | ) | | | (1,092 | ) |
| Contingent consideration | | | — | | | | — | | | | (15,000 | ) | | | (15,000 | ) |
| Total recurring fair value measurements | | $ | 257,272 | | | $ | 1,063 | | | $ | (7,932 | ) | | $ | 250,403 | |
|
| Crypto Asset, Holding [Table Text Block] |
| | | Quantity | | | Cost Basis | | | Fair Value | | | Cumulative Unrealized Gain (Loss) | |
| Bitcoin | | | 9.16 | | | $ | 1,000 | | | $ | 674 | | | $ | (326 | ) |
| Total digital assets | | | 9.16 | | | $ | 1,000 | | | $ | 674 | | | $ | (326 | ) |
|
| Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block] |
| | | Equity | | | Warrant | | | Contingent | |
| | | Investments | | | Liability | | | Consideration | |
| Balance, May 31, 2025 | | $ | 8,160 | | | $ | (1,092 | ) | | $ | (15,000 | ) |
| Unrealized gain (loss) on fair value | | | (3,796 | ) | | | (3,495 | ) | | | 15,000 | |
| Instruments exercised | | | — | | | | 4,587 | | | | — | |
| Balance, May 31, 2026 | | $ | 4,364 | | | $ | — | | | $ | — | |
| | | | | | | | | | | | | | | | | | | APHA 24 | |
| | | Convertible | | | Equity | | | Warrant | | | Contingent | | | Convertible | |
| | | notes receivable | | | Investments | | | Liability | | | Consideration | | | Debt | |
| Balance, May 31, 2024 | | $ | 32,000 | | | $ | 5,500 | | | $ | (3,253 | ) | | $ | (15,000 | ) | | $ | (330 | ) |
| Additions/(Repayments) | | | (12,000 | ) | | | 8,160 | | | | — | | | | — | | | | 330 | |
| Unrealized gain (loss) on fair value | | | — | | | | (5,500 | ) | | | 2,161 | | | | — | | | | — | |
| Impairments | | | (20,000 | ) | | | — | | | | — | | | | — | | | | — | |
| Balance, May 31, 2025 | | $ | — | | | $ | 8,160 | | | $ | (1,092 | ) | | $ | (15,000 | ) | | $ | — | |
|
| Fair Value Measurement Inputs and Valuation Techniques [Table Text Block] |
| | | | Significant | | | |
| | Valuation | | unobservable | | | |
| Financial asset / financial liability | technique | | input | | Inputs | |
| Equity investments | Discounted cash flows | | Probability of achievement | | 70% | |
|
| Accounts Receivable, Noncurrent, Past Due [Table Text Block] |
| | | Total | | | 0-30 days | | | 31-60 days | | | 61-90 days | | | 90+ days | |
| Accounts receivable, net | | $ | 189,170 | | | $ | 128,759 | | | $ | 23,833 | | | $ | 27,480 | | | $ | 9,098 | |
| | | | 100 | % | | | 68 | % | | | 13 | % | | | 15 | % | | | 5 | % |
|
| Accounts Receivable, Allowance for Credit Loss [Table Text Block] |
| | | Balance at the beginning of period | | | Movement during the year(1) | | | Balance at end of period | |
| Fiscal year ended May 31, 2026 | | | | | | | | | | | | |
| Allowance for doubtful accounts and credit loss provision | | $ | 3,702 | | | $ | (546 | ) | | $ | 3,156 | |
| Fiscal year ended May 31, 2025 | | | | | | | | | | | | |
| Allowance for doubtful accounts and credit loss provision | | | 7,714 | | | | (4,012 | ) | | | 3,702 | |
| Fiscal year ended May 31, 2024 | | | | | | | | | | | | |
| Allowance for doubtful accounts and credit loss provision | | | 6,641 | | | | 1,073 | | | | 7,714 | |
|