Condensed Consolidated Balance Sheets (Parenthetical) - USD ($) $ in Thousands |
Apr. 30, 2018 |
Jan. 31, 2018 |
|---|---|---|
| Statement of Financial Position [Abstract] | ||
| Accounts receivable, net of allowance for doubtful accounts | $ 3,560 | $ 3,885 |
| Long-term receivables, net of allowance for doubtful accounts | $ 94 | $ 2,282 |
| Preferred stock, par value (in dollars per share) | $ 1.00 | $ 1.00 |
| Preferred stock, shares authorized | 1,000,000 | 1,000,000 |
| Preferred stock, shares issued | 698,000 | 532,000 |
| Preferred stock, shares outstanding | 698,000 | 532,000 |
| Common stock, par value (in dollars per share) | $ 0.01 | $ 0.01 |
| Common stock, shares authorized | 20,000,000 | 20,000,000 |
| Common stock, shares issued | 14,019,000 | 14,019,000 |
| Treasury stock, shares | 1,929,000 | 1,929,000 |