| Stockholders' Equity (Tables)
 | 6 Months Ended | 
| Oct. 31, 2022 | 
|---|
| Stockholders' Equity Note [Abstract] | Ìý | 
| Schedule of Restricted Stock Unit Activity | A summary of the Company’s RSU activity, granted under the 2012 and 2018 Equity Incentive Plans, during the six months ended OctoberÌý31, 2022 is presented below: 
1 Includes 123,448 RSUs that will be issued in the third quarter of fiscal year 2023.
___________________
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Restricted Stock Units |  | Number of Shares |  | Weighted Average Grant Date Fair Value |  
| Unvested balance outstanding, April 30, 2022 |  | 929,928Ìý |  |  | $ | 6.12Ìý |  |  
| Granted |  | —Ìý |  |  | —Ìý |  |  
| Forfeits |  | (179,883) |  |  | 7.69Ìý |  |  
| Vested |  | (189,693) |  | 1 | 0.79Ìý |  |  
| Expired |  | —Ìý |  |  | —Ìý |  |  
| Unvested balance outstanding, October 31, 2022 |  | 560,352Ìý |  |  | $ | 7.42Ìý |  |  | 
| Summary of Warrant Activity | A summary of the Company’s warrant activity during the six months ended OctoberÌý31, 2022 is presented below: 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Warrants |  | Number of Shares
 |  | Weighted Average
 Exercise
 Price
 |  | Weighted Average
 Remaining
 Contractual
 Term
 |  | Aggregate Intrinsic
 Value
 |  
| Balance Outstanding, April 30, 2022 |  | 649,174Ìý |  |  | $ | 4.70Ìý |  |  | 1.96 |  | $ | —Ìý |  |  
| Granted |  | —Ìý |  |  | $ | —Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Exercised |  | —Ìý |  |  | $ | —Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Surrendered |  | —Ìý |  |  | $ | —Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Expired |  | (224,174) |  |  | $ | 6.87Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Balance Outstanding, October 31, 2022 |  | 425,000Ìý |  |  | $ | 3.56Ìý |  |  | 3.27 |  | $ | —Ìý |  |  
| Unvested |  | (16,667) |  |  |  |  |  |  |  |  
| Exercisable, October 31, 2022 |  | 408,333Ìý |  |  | $ | 3.42Ìý |  |  | 3.17 |  | $ | —Ìý |  |  | 
| Share-based Payment Arrangement, Option, Exercise Price Range | 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| OUTSTANDING WARRANTS |  | EXERCISABLE WARRANTS |  
| Exercise Price
 |  | Weighted Average
 Exercise
 Price
 |  | Outstanding Number of
 Warrants
 |  | Weighted Average
 Exercise
 Price
 |  | Weighted Average
 Remaining Life
 In Years
 |  | Exercisable Number of
 Warrants
 |  
| $ | 1.00Ìý |  |  | 1.00Ìý |  |  | 200,000Ìý |  |  | $ | 1.00Ìý |  |  | 4.48 |  | 200,000Ìý |  |  
| $ | 4.89Ìý |  |  | $ | 4.89Ìý |  |  | 50,000Ìý |  |  | $ | 4.89Ìý |  |  | 1.44 |  | 50,000Ìý |  |  
| $ | 5.85Ìý |  |  | $ | 5.85Ìý |  |  | 50,000Ìý |  |  | $ | 5.85Ìý |  |  | 1.35 |  | 50,000Ìý |  |  
| $ | 6.00Ìý |  |  | $ | 6.00Ìý |  |  | 100,000Ìý |  |  | $ | 6.00Ìý |  |  | 3.84 |  | 100,000Ìý |  |  
| $ | 6.99Ìý |  |  | $ | 6.99Ìý |  |  | 25,000Ìý |  |  | $ | 6.99Ìý |  |  | 3.72 |  | 8,333Ìý |  |  
| Ìý |  |  |  | 425,000Ìý |  |  | Ìý |  | Ìý |  | 408,333Ìý |  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| OUTSTANDING OPTIONS |  | EXERCISABLE OPTIONS |  
| Exercise Price
 |  | Weighted Average
 Exercise
 Price
 |  | Outstanding Number of
 Options
 |  | Weighted Average
 Exercise
 Price
 |  | Weighted Average
 Remaining Life
 In Years
 |  | Exercisable Number of
 Options
 |  
| $3.24 to $4.38 |  | $ | 3.82Ìý |  |  | 31,998Ìý |  |  | $ | 4.00Ìý |  |  | 1.75 |  | 31,998Ìý |  |  
| $4.50 to $5.20 |  | $ | 4.94Ìý |  |  | 123,379Ìý |  |  | $ | 4.97Ìý |  |  | 1.28 |  | 123,379Ìý |  |  
| $7.17 to $7.55 |  | $ | 7.45Ìý |  |  | 463,702Ìý |  |  | $ | 7.46Ìý |  |  | 0.83 |  | 463,702Ìý |  |  
| $8.57 to $9.07 |  | $ | 8.98Ìý |  |  | 114,749Ìý |  |  | $ | 8.98Ìý |  |  | 0.18 |  | 114,749Ìý |  |  
|  |  |  |  | 733,828Ìý |  |  |  |  |  |  | 733,828Ìý |  |  | 
| Summary of Stock Option Activity | A summary of the Company’s stock option activity for employees and directors during the six months ended OctoberÌý31, 2022, is presented below: 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Options |  | Number of Shares
 |  | Weighted Average
 Exercise
 Price
 |  | Weighted Average
 Remaining
 Contractual
 Term
 |  | Aggregate Intrinsic
 Value
 |  
| Balance Outstanding, AprilÌý30, 2022 |  | 860,182Ìý |  |  | $ | 7.03Ìý |  |  | 1.25 |  | $ | —Ìý |  |  
| Granted |  | —Ìý |  |  | —Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Exercised |  | —Ìý |  |  | —Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Forfeited |  | (36,634) |  |  | 8.89Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Expired |  | (89,720) |  |  | 5.53Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Balance Outstanding, OctoberÌý31, 2022 |  | 733,828Ìý |  |  | $ | 7.12Ìý |  |  | 0.86 |  | $ | —Ìý |  |  
|  |  |  |  |  |  |  |  |  |  
| Exercisable, OctoberÌý31, 2022 |  | 733,828Ìý |  |  | $ | 7.12Ìý |  |  | 0.84 |  | $ | —Ìý |  |  | 
| Schedule of Share-Based Compensation | A summary of the Company’s stock-based compensation expense, which is included in "general and administrative" expense in the consolidated statement of operations is presented below:  
 
 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Three Months Ended October 31, |  | Six Months Ended October 31, |  
|  |  | 2022 |  | 2021 |  | 2022 |  | 2021 |  
| RSUs |  | $ | 458,206Ìý |  |  | $ | 688,129Ìý |  |  | $ | 499,259Ìý |  |  | $ | 1,134,906Ìý |  |  
| Restricted Stock |  | —Ìý |  |  | 10,525Ìý |  |  | —Ìý |  |  | 21,052Ìý |  |  
| Stock options |  | 130Ìý |  |  | 23,504Ìý |  |  | 5,407Ìý |  |  | 108,912Ìý |  |  
| Total stock-based compensation expense |  | $ | 458,336Ìý |  |  | $ | 722,158Ìý |  |  | $ | 504,666Ìý |  |  | $ | 1,264,870Ìý |  |  |