XML 45 R33.htm IDEA: XBRL DOCUMENT v3.23.2
Debt (Details - Interest expense) - USD ($)
$ in Thousands
12 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2021
Debt Instrument [Line Items]      
Amortization of debt discount $ 1,046 $ 1,030 $ 916
Convertible Notes [Member]      
Debt Instrument [Line Items]      
Contractual interest expense 1,395 1,603 245
Amortization of issuance costs 1,046 1,030 54
Amortization of debt discount [1] 0 0 862
Total interest expense associated with Convertible Notes $ 2,441 $ 2,633 $ 1,161
[1] As discussed above, the adoption of ASU 2020-06 on May 1, 2021 resulted in the re-combination of the debt and equity components of the Convertible Notes into a single debt instrument. Accordingly, the unamortized debt discount balance and the net carrying amount of the equity component were derecognized.