| Stockholders' Equity (Tables)
 | 9 Months Ended | 
| Jan. 31, 2023 | 
|---|
| 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 nine months ended JanuaryÌý31, 2023 is presented below: 
___________________
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Restricted Stock Units |  | Number of Shares |  | Weighted Average Grant Date Fair Value |  
| Unvested balance outstanding, April 30, 2022 |  | 929,928Ìý |  |  | $ | 6.12Ìý |  |  
| Granted |  | 15,000Ìý |  |  | 0.35Ìý |  |  
| Forfeits |  | (185,059) |  |  | 7.65Ìý |  |  
| Vested |  | (236,813) |  |  | 0.70Ìý |  |  
| Expired |  | —Ìý |  |  | —Ìý |  |  
| Unvested balance outstanding, January 31, 2023 |  | 523,056Ìý |  |  | $ | 7.87Ìý |  |  | 
| Summary of Warrant Activity | A summary of the Company’s warrant activity during the nine months ended JanuaryÌý31, 2023 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, January 31, 2023 |  | 425,000Ìý |  |  | $ | 3.56Ìý |  |  | 3.02 |  | $ | —Ìý |  |  
| Unvested |  | (16,667) |  |  |  |  |  |  |  |  
| Exercisable, January 31, 2023 |  | 408,333Ìý |  |  | $ | 3.42Ìý |  |  | 3.00 |  | $ | —Ìý |  |  | 
| 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.23 |  | 200,000Ìý |  |  
| $ | 4.89Ìý |  |  | $ | 4.89Ìý |  |  | 50,000Ìý |  |  | $ | 4.89Ìý |  |  | 1.19 |  | 50,000Ìý |  |  
| $ | 5.85Ìý |  |  | $ | 5.85Ìý |  |  | 50,000Ìý |  |  | $ | 5.85Ìý |  |  | 3.58 |  | 50,000Ìý |  |  
| $ | 6.00Ìý |  |  | $ | 6.00Ìý |  |  | 100,000Ìý |  |  | $ | 6.00Ìý |  |  | 1.09 |  | 100,000Ìý |  |  
| $ | 6.99Ìý |  |  | $ | 6.99Ìý |  |  | 25,000Ìý |  |  | $ | 6.99Ìý |  |  | 3.47 |  | 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 |  | $ | 4.00Ìý |  |  | 31,665Ìý |  |  | $ | 4.00Ìý |  |  | 1.50 |  | 31,665Ìý |  |  
| $4.50 to $5.20 |  | $ | 4.97Ìý |  |  | 119,876Ìý |  |  | $ | 4.97Ìý |  |  | 1.03 |  | 119,876Ìý |  |  
| $7.17 to $7.55 |  | $ | 7.45Ìý |  |  | 462,917Ìý |  |  | $ | 7.45Ìý |  |  | 0.60 |  | 462,917Ìý |  |  
|  |  |  |  | 614,458Ìý |  |  |  |  |  |  | 614,458Ìý |  |  | 
| Summary of Stock Option Activity | A summary of the Company’s stock option activity for employees and directors during the nine months ended JanuaryÌý31, 2023, 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 |  | (209,090) |  |  | 7.42Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Balance Outstanding, JanuaryÌý31, 2023 |  | 614,458Ìý |  |  | $ | 6.79Ìý |  |  | 0.73 |  | $ | —Ìý |  |  
|  |  |  |  |  |  |  |  |  |  
| Exercisable, JanuaryÌý31, 2023 |  | 614,458Ìý |  |  | $ | 6.79Ìý |  |  | 0.73 |  | $ | —Ìý |  |  | 
| 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 January 31, |  | Nine Months Ended January 31, |  
|  |  | 2023 |  | 2022 |  | 2023 |  | 2022 |  
| RSUs |  | $ | 394,510Ìý |  |  | $ | 397,241Ìý |  |  | $ | 893,769Ìý |  |  | $ | 1,532,147Ìý |  |  
| Restricted Stock |  | —Ìý |  |  | 286,231Ìý |  |  | —Ìý |  |  | 307,283Ìý |  |  
| Stock options |  | —Ìý |  |  | 17,225Ìý |  |  | 5,407Ìý |  |  | 126,137Ìý |  |  
| Total stock-based compensation expense |  | $ | 394,510Ìý |  |  | $ | 700,697Ìý |  |  | $ | 899,176Ìý |  |  | $ | 1,965,567Ìý |  |  |