Debt (Details Narrative) - USD ($)
|
|
1 Months Ended |
12 Months Ended |
Mar. 14, 2023 |
Mar. 31, 2021 |
Apr. 30, 2023 |
Apr. 30, 2022 |
Apr. 30, 2021 |
| Debt Instrument [Line Items] |
|
|
|
|
|
| Proceeds from Convertible Debt |
|
|
$ 0
|
$ 0
|
$ 138,464,000
|
| Payment of capped calls |
|
|
(0)
|
(0)
|
$ 12,837,000
|
| Revolving Credit Facility [Member] | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member] |
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
| Revolving credit facility, description |
(1)
a term Secured Overnight Financing Rate (“SOFR”) rate for a specified interest period plus a SOFR adjustment (equal to 0.10%)
plus a margin of 1.40% or (2) base rate plus a margin of 0.40% at our option.
|
|
|
|
|
| Line of Credit Facility, Commitment Fee Percentage |
0.20%
|
|
|
|
|
| Revolving Credit Facility [Member] | Credit Agreement [Member] |
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
| Revolving credit facility, description |
(i) $50 million,
and (ii) a borrowing base calculated as the sum of (a) 80% of the value of certain of our eligible accounts receivable, plus (b) up to
100% of the value of eligible cash collateral. The Revolving Credit Facility will mature on March 13, 2024 and is secured by substantially
all of our assets.
|
|
|
|
|
| Outstanding loans |
|
|
0
|
|
|
| Line of credit |
$ 15,000,000
|
|
|
|
|
| Convertible Senior Notes [Member] |
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
| Debt face amount |
|
$ 143,800,000
|
|
|
|
| Proceeds from Convertible Debt |
|
138,500,000
|
|
|
|
| Debt issuance costs |
|
$ 5,300,000
|
|
|
|
| Interest rate |
|
1.25%
|
|
|
|
| Maturity date |
|
Mar. 15, 2026
|
|
|
|
| Convertible Senior Notes [Member] | Debt Component [Member] |
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
| Debt face amount |
|
$ 99,700,000
|
|
|
|
| Debt issuance costs |
|
$ 3,700,000
|
|
|
|
| Effective discount rate |
|
8.78%
|
|
|
|
| Convertible Senior Notes [Member] | Equity Component [Member] |
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
| Debt face amount |
|
$ 44,100,000
|
|
|
|
| Debt issuance costs |
|
$ 1,600,000
|
|
|
|
| Convertible Notes [Member] |
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
| Fair value of the Convertible Notes |
|
|
$ 157,300,000
|
$ 167,100,000
|
|
| Trade price per share |
|
|
$ 100
|
$ 100
|
|