XML 35 R22.htm IDEA: XBRL DOCUMENT
v3.23.2

Leases | 12 Months Ended
--- | ---
Apr. 30, 2023
Leases |
Leases | 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,
​ |  | 2023 | ​ | 2022
Operating lease cost | ​ | $ | 8,048 | ​ | $ | 6,814
Short term lease cost | ​ | ​ | 862 | ​ | ​ | 840
Variable lease cost | ​ | ​ | 1,820 | ​ | ​ | 653
Sublease income | ​ | ​ | — | ​ | ​ | (176)
Total lease costs, net | ​ | $ | 10,730 | ​ | $ | 8,131
​ Supplemental lease information was as follows:
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended | ​ | Year Ended
​ | ​ | April 30, | ​ | April 30,
​ |  | 2023 | ​ | 2022
​ | ​ | (In thousands) | ​ | (In thousands)
Cash paid for amounts included in the measurement of operating lease liabilities | ​ | $ | 7,690 | ​ | $ | 6,925
Right-of-use assets obtained in exchange for new lease liabilities | ​ | $ | 7,463 | ​ | $ | 10,238
​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted average remaining lease term | ​ | ​ | 53 months | ​ | ​ | 62 months
Weighted average discount rate | ​ | ​ | 4.3% | ​ | ​ | 3.4%
​ Maturities of operating lease liabilities as of April 30, 2023 were as follows (in thousands): ​
​ | ​ | ​ | ​
2024 | ​ | $ | 8,933
2025 | ​ |  | 8,628
2026 | ​ |  | 5,316
2027 | ​ |  | 4,565
2028 | ​ |  | 2,646
Thereafter | ​ | ​ | 5,895
Total lease payments | ​ | ​ | 35,983
Less: imputed interest | ​ | ​ | (6,565)
Total present value of operating lease liabilities | ​ | $ | 29,418
​

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -URI https://asc.fasb.org/subtopic&trid=77888251 + Details
Name: | us-gaap_LesseeOperatingLeasesTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration