Income Taxes (Details - Provision for Income taxes) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Apr. 30, 2023 |
Apr. 30, 2022 |
Apr. 30, 2021 |
|
| Income Tax Disclosure [Abstract] | |||
| Federal income taxes at statutory rate | $ 421 | $ 2,659 | $ 2,355 |
| State income taxes, net of valuation allowance | 301 | 605 | 0 |
| Expiration and adjustments of deferred tax assets | 0 | 0 | 451 |
| Change in federal valuation allowance | 0 | (122,703) | 2,450 |
| Stock-based compensation including 162M limitations | 615 | (1,153) | (240) |
| Research and development credits | 0 | 0 | (4,958) |
| Adjustment for federal benefit of state | 0 | 5,326 | 0 |
| Permanent differences | 66 | 425 | 4 |
| Other, net | 40 | (170) | (62) |
| Income tax expense (benefit) | $ 1,443 | $ (115,011) | $ (0) |