Condensed Consolidated Statements of Stockholders' Equity (Unaudited) - USD ($) $ in Thousands | Preferred Stock Offerings [Member] Common Stock [Member] | Preferred Stock Offerings [Member] Preferred Stock [Member] | Preferred Stock Offerings [Member] Additional Paid-in Capital [Member] | Preferred Stock Offerings [Member] Treasury Stock [Member] | Preferred Stock Offerings [Member] Retained Earnings [Member] | Preferred Stock Offerings [Member] AOCI Attributable to Parent [Member] | Preferred Stock Offerings [Member] | Common Stock Offerings [Member] Common Stock [Member] | Common Stock Offerings [Member] Preferred Stock [Member] | Common Stock Offerings [Member] Additional Paid-in Capital [Member] | Common Stock Offerings [Member] Treasury Stock [Member] | Common Stock Offerings [Member] Retained Earnings [Member] | Common Stock Offerings [Member] AOCI Attributable to Parent [Member] | Common Stock Offerings [Member] | Common Stock [Member] | Preferred Stock [Member] | Additional Paid-in Capital [Member] | Treasury Stock [Member] | Retained Earnings [Member] | AOCI Attributable to Parent [Member] | Total |
Balances (in shares) | | | | | | | | | | | | | | | 15,681 | 1,038 | | | | | |
Balances (in shares) at Jan. 31, 2021 | | | | | | | | | | | | | | | 15,681 | 1,038 | | | | | |
Balances at Jan. 31, 2021 | | | | | | | | | | | | | | | $ 157 | $ 23,104 | $ 128,241 | $ (16,860) | $ (99,870) | $ (4,356) | $ 30,416 |
Net loss | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | (3,984) | 0 | (3,984) |
Foreign currency translation | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | 0 | 57 | 57 |
Restricted stock issued (in shares) | | | | | | | | | | | | | | | 5 | 0 | | | | | |
Restricted stock issued | | | | | | | | | | | | | | | $ 0 | $ 0 | 11 | 0 | 0 | 0 | 11 |
Restricted stock surrendered for tax withholding | | | | | | | | | | | | | | | 0 | 0 | 0 | (2) | 0 | 0 | (2) |
Preferred stock dividends | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | (584) | 0 | (584) |
Stock-based compensation | | | | | | | | | | | | | | | $ 0 | $ 0 | 109 | 0 | 0 | 0 | 109 |
Stock offering (in shares) | 0 | 21 | | | | | | 18 | 0 | | | | | | | | | | | | |
Stock offering | $ 0 | $ 503 | $ 0 | $ 0 | $ 0 | $ 0 | $ 503 | $ 0 | $ 0 | $ 42 | $ 0 | $ 0 | $ 0 | $ 42 | | | | | | | |
Balances (in shares) at Apr. 30, 2021 | | | | | | | | | | | | | | | 15,704 | 1,059 | | | | | |
Balances at Apr. 30, 2021 | | | | | | | | | | | | | | | $ 157 | $ 23,607 | 128,403 | (16,862) | (104,438) | (4,299) | 26,568 |
Balances (in shares) at Jan. 31, 2021 | | | | | | | | | | | | | | | 15,681 | 1,038 | | | | | |
Balances at Jan. 31, 2021 | | | | | | | | | | | | | | | $ 157 | $ 23,104 | 128,241 | (16,860) | (99,870) | (4,356) | 30,416 |
Net loss | | | | | | | | | | | | | | | | | | | | | (9,222) |
Balances (in shares) at Oct. 31, 2021 | | | | | | | | | | | | | | | 15,704 | 1,250 | | | | | |
Balances at Oct. 31, 2021 | | | | | | | | | | | | | | | $ 157 | $ 28,248 | 128,702 | (16,862) | (111,046) | (4,339) | 24,860 |
Balances (in shares) | | | | | | | | | | | | | | | 15,704 | 1,059 | | | | | |
Balances (in shares) at Apr. 30, 2021 | | | | | | | | | | | | | | | 15,704 | 1,059 | | | | | |
Balances at Apr. 30, 2021 | | | | | | | | | | | | | | | $ 157 | $ 23,607 | 128,403 | (16,862) | (104,438) | (4,299) | 26,568 |
Net loss | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | (2,660) | 0 | (2,660) |
Foreign currency translation | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | 0 | (23) | (23) |
Preferred stock dividends | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | (682) | 0 | (682) |
Stock-based compensation | | | | | | | | | | | | | | | $ 0 | $ 0 | 115 | 0 | 0 | 0 | 115 |
Stock offering (in shares) | 0 | 164 | | | | | | | | | | | | | | | | | | | |
Stock offering | $ 0 | $ 3,999 | $ 0 | $ 0 | $ 0 | $ 0 | $ 3,999 | $ 0 | $ 0 | $ 1 | $ 0 | $ 0 | $ 0 | $ 1 | | | | | | | |
Balances (in shares) at Jul. 31, 2021 | | | | | | | | | | | | | | | 15,704 | 1,223 | | | | | |
Balances at Jul. 31, 2021 | | | | | | | | | | | | | | | $ 157 | $ 27,606 | 128,519 | (16,862) | (107,780) | (4,322) | 27,318 |
Balances (in shares) | | | | | | | | | | | | | | | 15,704 | 1,223 | | | | | |
Net loss | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | (2,578) | 0 | (2,578) |
Foreign currency translation | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | 0 | (17) | (17) |
Preferred stock dividends | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | (688) | 0 | (688) |
Stock-based compensation | | | | | | | | | | | | | | | $ 0 | $ 0 | 183 | 0 | 0 | 0 | 183 |
Stock offering (in shares) | | | | | | | | | | | | | | | 0 | 27 | | | | | |
Stock offering | | | | | | | | | | | | | | | $ 0 | $ 642 | 0 | | | | 642 |
Balances (in shares) at Oct. 31, 2021 | | | | | | | | | | | | | | | 15,704 | 1,250 | | | | | |
Balances at Oct. 31, 2021 | | | | | | | | | | | | | | | $ 157 | $ 28,248 | 128,702 | (16,862) | (111,046) | (4,339) | 24,860 |
Balances (in shares) | | | | | | | | | | | | | | | 15,704 | 1,250 | | | | | |
Balances (in shares) | | | | | | | | | | | | | | | 15,705,000 | 1,683,000 | | | | | |
Balances (in shares) at Jan. 31, 2022 | | | | | | | | | | | | | | | 15,705,000 | 1,683,000 | | | | | |
Balances at Jan. 31, 2022 | | | | | | | | | | | | | | | $ 157 | $ 37,779 | 128,926 | (16,862) | (117,856) | (1,881) | 30,263 |
Net loss | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | (2,419) | 0 | (2,419) |
Foreign currency translation | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | 0 | (3) | (3) |
Restricted stock issued (in shares) | | | | | | | | | | | | | | | 10,000 | 0 | | | | | |
Restricted stock issued | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | 0 | 0 | 0 |
Restricted stock surrendered for tax withholding | | | | | | | | | | | | | | | 0 | 0 | 0 | (1) | 0 | 0 | (1) |
Preferred stock dividends | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | (947) | 0 | (947) |
Stock-based compensation | | | | | | | | | | | | | | | $ 0 | $ 0 | 236 | 0 | 0 | 0 | 236 |
Balances (in shares) at Apr. 30, 2022 | | | | | | | | | | | | | | | 15,715,000 | 1,683,000 | | | | | |
Balances at Apr. 30, 2022 | | | | | | | | | | | | | | | $ 157 | $ 37,779 | 129,162 | (16,863) | (121,222) | (1,884) | 27,129 |
Balances (in shares) at Jan. 31, 2022 | | | | | | | | | | | | | | | 15,705,000 | 1,683,000 | | | | | |
Balances at Jan. 31, 2022 | | | | | | | | | | | | | | | $ 157 | $ 37,779 | 128,926 | (16,862) | (117,856) | (1,881) | 30,263 |
Net loss | | | | | | | | | | | | | | | | | | | | | (9,498) |
Balances (in shares) at Oct. 31, 2022 | | | | | | | | | | | | | | | 15,721,000 | 1,683,000 | | | | | |
Balances at Oct. 31, 2022 | | | | | | | | | | | | | | | $ 157 | $ 37,779 | 129,450 | (16,863) | (128,301) | 33 | 22,255 |
Balances (in shares) | | | | | | | | | | | | | | | 15,715,000 | 1,683,000 | | | | | |
Balances (in shares) at Apr. 30, 2022 | | | | | | | | | | | | | | | 15,715,000 | 1,683,000 | | | | | |
Balances at Apr. 30, 2022 | | | | | | | | | | | | | | | $ 157 | $ 37,779 | 129,162 | (16,863) | (121,222) | (1,884) | 27,129 |
Net loss | | | | | | | | | | | | | | | 0 | 0 | 0 | 0 | (1,920) | 0 | (1,920) |
Foreign currency translation | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | 0 | 300 | 300 |
Restricted stock issued (in shares) | | | | | | | | | | | | | | | 5,000 | 0 | | | | | |
Restricted stock issued | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | 0 | 0 | 0 |
Stock-based compensation | | | | | | | | | | | | | | | $ 0 | $ 0 | 152 | 0 | 0 | 0 | 152 |
Balances (in shares) at Jul. 31, 2022 | | | | | | | | | | | | | | | 15,720,000 | 1,683,000 | | | | | |
Balances at Jul. 31, 2022 | | | | | | | | | | | | | | | $ 157 | $ 37,779 | 129,314 | (16,863) | (123,142) | (1,584) | 25,661 |
Balances (in shares) | | | | | | | | | | | | | | | 15,720,000 | 1,683,000 | | | | | |
Net loss | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | (5,159) | 0 | (5,159) |
Foreign currency translation | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | 0 | 1,617 | 1,617 |
Restricted stock issued (in shares) | | | | | | | | | | | | | | | 1,000 | 0 | | | | | |
Restricted stock issued | | | | | | | | | | | | | | | $ 0 | $ 0 | 0 | 0 | 0 | 0 | 0 |
Stock-based compensation | | | | | | | | | | | | | | | $ 0 | $ 0 | 136 | 0 | 0 | 0 | 136 |
Balances (in shares) at Oct. 31, 2022 | | | | | | | | | | | | | | | 15,721,000 | 1,683,000 | | | | | |
Balances at Oct. 31, 2022 | | | | | | | | | | | | | | | $ 157 | $ 37,779 | $ 129,450 | $ (16,863) | $ (128,301) | $ 33 | $ 22,255 |
Balances (in shares) | | | | | | | | | | | | | | | 15,721,000 | 1,683,000 | | | | | |