Net Income Per Common Share (Details - Reconciliation of per share) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2021
Numerator      
Net income $ 560 $ 127,672 $ 11,212
Series E preferred stock accumulated dividends 0 0 (4,455)
Impact of Series E preferred stock redemption 0 0 (3,439)
Net income attributable to common stockholders, basic 560 127,672 3,318
Add interest expense on Convertible Notes, net of tax 0 1,954 0
Net income attributable to common stockholders, diluted $ 560 $ 129,626 $ 3,318
Denominator      
Weighted average basic common shares outstanding 62,268 61,484 58,222
Effect of dilutive securities:      
Stock options 1,248 1,830 909
RSUs, PSUs and ESPP 266 384 295
Convertible Notes 0 6,776 0
Weighted average dilutive common shares outstanding 63,782 70,474 59,426
Net income per share attributable to common stockholders:      
Basic $ 0.01 $ 2.08 $ 0.06
Diluted $ 0.01 $ 1.84 $ 0.06