| Stockholders' Equity (Tables)
 | 3 Months Ended | 
| Jul. 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 three months ended JulyÌý31, 2022 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 |  | —Ìý |  |  | —Ìý |  |  
| Forfeits |  | (172,828) |  |  | 7.65Ìý |  |  
| Vested |  | (14,345) |  |  | 0.97Ìý |  |  
| Expired |  | —Ìý |  |  | —Ìý |  |  
| Unvested balance outstanding, July 31, 2022 |  | 742,755Ìý |  |  | $ | 5.86Ìý |  |  | 
| Summary of Warrant Activity | A summary of the Company’s warrant activity during the three months ended JulyÌý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, July 31, 2022 |  | 425,000Ìý |  |  | $ | 4.70Ìý |  |  | 1.96 |  | $ | —Ìý |  |  
|  |  |  |  |  |  |  |  |  |  
| Exercisable, July 31, 2022 |  | 400,000Ìý |  |  | $ | 4.89Ìý |  |  | 1.80 |  | $ | —Ìý |  |  | 
| 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.74 |  | 200,000Ìý |  |  
| $ | 4.89Ìý |  |  | $ | 4.89Ìý |  |  | 50,000Ìý |  |  | $ | 4.89Ìý |  |  | 1.70 |  | 50,000Ìý |  |  
| $ | 5.85Ìý |  |  | $ | 5.85Ìý |  |  | 50,000Ìý |  |  | $ | 5.85Ìý |  |  | 4.09 |  | 50,000Ìý |  |  
| $ | 6.00Ìý |  |  | $ | 6.00Ìý |  |  | 100,000Ìý |  |  | $ | 6.00Ìý |  |  | 1.60 |  | 100,000Ìý |  |  
| $ | 6.99Ìý |  |  | $ | 6.99Ìý |  |  | 25,000Ìý |  |  | $ | 0.00Ìý |  |  | 0.00 |  | —Ìý |  |  
| Ìý |  |  |  | 425,000Ìý |  |  | Ìý |  | Ìý |  | 400,000Ìý |  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| 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Ìý |  |  | 36,331Ìý |  |  | $ | 4.00Ìý |  |  | 2.00 |  | 36,331Ìý |  |  
| $4.50 to $5.20 |  | $ | 4.94Ìý |  |  | 135,510Ìý |  |  | $ | 4.99Ìý |  |  | 1.52 |  | 134,877Ìý |  |  
| $5.95 to $6.28 |  | $ | 5.95Ìý |  |  | 28,000Ìý |  |  | $ | 5.95Ìý |  |  | 0.06 |  | 28,000Ìý |  |  
| $7.17 to $7.55 |  | $ | 7.45Ìý |  |  | 472,592Ìý |  |  | $ | 7.46Ìý |  |  | 1.07 |  | 464,592Ìý |  |  
| $8.57 to $9.07 |  | $ | 8.98Ìý |  |  | 122,749Ìý |  |  | $ | 8.96Ìý |  |  | 0.44 |  | 122,749Ìý |  |  
|  |  |  |  | 795,182Ìý |  |  |  |  |  |  | 786,549Ìý |  |  | 
| Summary of Stock Option Activity | A summary of the Company’s stock option activity for employees and directors during the three months ended JulyÌý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,000) |  |  | 8.98Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Expired |  | (29,000) |  |  | 4.19Ìý |  |  | —Ìý |  |  | —Ìý |  |  
| Balance Outstanding, JulyÌý31, 2022 |  | 795,182Ìý |  |  | $ | 7.05Ìý |  |  | 1.07 |  | $ | —Ìý |  |  
|  |  |  |  |  |  |  |  |  |  
| Exercisable, JulyÌý31, 2022 |  | 786,549Ìý |  |  | $ | 7.05Ìý |  |  | 1.06 |  | $ | —Ìý |  |  | 
| 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 July 31, |  
|  |  | 2022 |  | 2021 |  
| RSUs |  | $ | 41,053Ìý |  |  | $ | 446,777Ìý |  |  
| Restricted Stock |  | —Ìý |  |  | 10,527Ìý |  |  
| Stock options |  | 5,277Ìý |  |  | 85,408Ìý |  |  
| Total stock-based compensation expense |  | $ | 46,330Ìý |  |  | $ | 542,712Ìý |  |  |