12. Leases The components of lease costs recorded in cost of sales and SG&A expense were as follows (in thousands): | | | | | | | | | Year Ended | | Year Ended | | | April 30, | | April 30, | | | 2026 | | 2025 | Operating lease cost | | $ | 25,426 | | $ | 10,163 | Short term lease cost | | | 1,442 | | | 822 | Variable lease cost | | | 3,880 | | | 1,627 | Sublease income | | | — | | | — | Total lease costs, net | | $ | 30,748 | | $ | 12,612 |
Supplemental lease information was as follows: | | | | | | | | | Year Ended | | Year Ended | | | April 30, | | April 30, | | | 2026 | | 2025 | | | (In thousands) | | (In thousands) | Cash paid for amounts included in the measurement of operating lease liabilities | | $ | 23,708 | | $ | 10,229 | Right-of-use assets obtained in exchange for new lease liabilities | | $ | 6,699 | | $ | 10,099 | | | | | | | | Weighted average remaining lease term | | | 71 months | | | 48 months | Weighted average discount rate | | | 6.7% | | | 5.4% |
Maturities of operating lease liabilities as of April 30, 2026 were as follows (in thousands): | | | | Fiscal Year | | | | 2027 | | $ | 23,263 | 2028 | | | 25,143 | 2029 | | | 22,449 | 2030 | | | 17,597 | 2031 | | | 11,803 | Thereafter | | | 34,089 | Total lease payments | | $ | 134,344 | Less: imputed interest | | | (28,522) | Total present value of operating lease liabilities | | $ | 105,822 |
|