Note 5 - Debt (Details Textual) $ in Thousands, $ in Thousands, د.إ in Millions, ج.م. in Millions | Dec. 17, 2020USD ($) | May 01, 2020USD ($) | Sep. 20, 2018USD ($) | Jul. 28, 2016USD ($) | Jul. 28, 2016CAD ($) | Jun. 19, 2012USD ($) | Apr. 30, 2021USD ($) | Jan. 31, 2021USD ($) | Jul. 31, 2020 | Oct. 31, 2021USD ($) | Apr. 30, 2021EGP (ج.م.) | Jul. 31, 2021 | Jan. 31, 2021USD ($) | Oct. 31, 2020 | Jan. 31, 2020USD ($) | Jan. 31, 2021AED (د.إ) | Jan. 31, 2021EGP (ج.م.) | Nov. 30, 2019EGP (ج.م.) |
Proceeds from Issuance of Long-term Debt, Total | | | | | | | | | | | | | $ 19 | | | | | |
Cash Available to Satisfy Future Potential Repatriation from Foreign Subsidiaries | | | | | | | | $ 6,600 | | | | | 6,600 | | | | | |
Line of Credit, Current | | | | | | | | $ 2,826 | | | | | $ 2,826 | | $ 8,577 | | | |
Forecast [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | |
Foreign Earnings Repatriated | | | | | | | | | | $ 100 | | | | | | | | |
Subsequent Event [Member] | UNITED ARAB EMIRATES | | | | | | | | | | | | | | | | | | |
Foreign Earnings Repatriated | | | | | | | $ 800 | | | | | | | | | | | |
Revolving Lines, North America [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | $ 18,000 | | | | | | | | | | | | | | | |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | | | 0.375% | | | | | | | | | | | | | | | |
Line of Credit Facility, Capital Expenditures Restrictions | | | $ 3,000 | | | | | | | | | | | | | | | |
Line of Credit Facility, Covenant Terms, EBITDA Ratio, Term One | | | 1.1 | | | | | | | | | | | | | | | |
Line of Credit Facility, Covenant Terms, EBITDA Ratio, Term Two | | | 1.1 | | | | | | | | | | | | | | | |
Line of Credit Facility, Covenant, Fixed Charge Coverage Ratio | | | | | | | | | | | | | | 1.1 | | | | |
Repayments of Long-term Lines of Credit | $ 1,000 | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Additional Fees to Be Incurred | 200 | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity, Availability Block | $ 2,000 | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | 6.25% | | | | | 6.25% | | | 6.25% | 6.25% | |
Line of Credit Facility, Current Borrowing Capacity | | | | | | | | $ 1,700 | | | | | $ 1,700 | | | | | |
Revolving Lines, North America [Member] | The Company and Its Subsidiaries [Member] | Forecast [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | | | | | | | | | | | | 1.25 | | | | | | |
Revolving Lines, North America [Member] | North American Loan Parties [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | | | | | | | | 1.1 | | | | | | | | | | |
Revolving Lines, North America [Member] | North American Loan Parties [Member] | Forecast [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | | | | | | | | | | | 1.1 | 1.1 | | | | | | |
Revolving Lines, North America [Member] | Subsequent Event [Member] | The Company and Its Subsidiaries [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fixed Charge Coverage Ratio Required | | | | | | | | | | | 1.25 | | | | | | | |
Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | $ 23,100 | | | | | 23,100 | | | | | |
Letters of Credit Outstanding, Amount | | | | | | | | 5,800 | | | | | 5,800 | | | | | |
Proceeds from Issuance of Debt | | | | | | | | | | | | | 3,300 | | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | | | | | | | | $ 1,300 | | | | | $ 1,300 | | | | | |
Foreign Revolving Lines [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | 8.00% | | | | | 8.00% | | | 8.00% | 8.00% | |
Foreign Revolving Lines [Member] | Maximum [Member] | EIBOR [Member] | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | | | | | | | | 3.50% | | | | | |
Foreign Revolving Lines [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | 3.40% | | | | | 3.40% | | | 3.40% | 3.40% | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | 4.50% | | | | | 4.50% | | | 4.50% | 4.50% | |
Foreign Revolving Lines [Member] | Minimum [Member] | EIBOR [Member] | | | | | | | | | | | | | | | | | | |
Debt Instrument, Basis Spread on Variable Rate | | | | | | | | | | | | | 3.00% | | | | | |
Foreign Revolving Lines [Member] | Weighted Average [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | 6.05% | | | | | 6.05% | | | 6.05% | 6.05% | |
Paycheck Protection Program CARES Act [Member] | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Long-term Debt, Total | | $ 3,200 | | | | | | | | | | | | | | | | |
Percent of Proceeds from Issuance of Debt Used for Payroll Related Expenses | | | | | | | | | 100.00% | | | | | | | | | |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 1 [Member] | Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | $ 2,200 | | | | | $ 2,200 | | | د.إ 8.0 | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | 3.40% | | | | | 3.40% | | | 3.40% | 3.40% | |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 2 [Member] | Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | $ 5,300 | | | | | $ 5,300 | | | د.إ 19.5 | | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | 3.90% | | | | | 3.90% | | | 3.90% | 3.90% | |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 3 [Member] | Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | $ 12,700 | | | | | $ 12,700 | | | | ج.م. 200.0 | ج.م. 200.0 |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 3 [Member] | Foreign Revolving Lines [Member] | Forecast [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | ج.م. | | | | | | | | | | | ج.م. 100.0 | | | | | | | |
Revolving Credit Lines Used by Middle Eastern Subsidiaries, 4 [Member] | Foreign Revolving Lines [Member] | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | $ 2,900 | | | | | $ 2,900 | | | | ج.م. 46.2 | |
Line of Credit Facility, Interest Rate at Period End | | | | | | | | 8.00% | | | | | 8.00% | | | 8.00% | 8.00% | |
Canadian Mortgage Note [Member] | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Debt | | | | $ 6,100 | $ 8,000 | | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | Dec. 23, 2042 | Dec. 23, 2042 | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Effective Percentage | | | | | | | | 4.55% | | | | | 4.55% | | | 4.55% | 4.55% | |
Debt Instrument, Periodic Payment, Interest | | | | $ 28 | $ 37 | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Principal | | | | $ 21 | $ 27 | | | | | | | | | | | | | |
Mortgage Note Secured by Tennessee Manufacturing Facility [Member] | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | 4.50% | | | | | | | | | | | | |
Debt Instrument, Maturity Date | | | | | | Jul. 1, 2027 | | | | | | | | | | | | |
Debt Instrument, Issuance Date | | | | | | Jun. 19, 2012 | | | | | | | | | | | | |
Proceeds from Issuance of Secured Debt | | | | | | $ 1,800 | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Total | | | | | | $ 13 | | | | | | | | | | | | |
Debt Instrument, Adjustable Interest Rate Period, Commencement Date | | | | | | Jun. 19, 2022 | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Maximum Annual Increase | | | | | | 2.00% | | | | | | | | | | | | |
Debt Instrument, Adjustable Interest Rate, Ceiling | | | | | | 18.00% | | | | | | | | | | | | |
Debt Instrument, Adjustable Interest Rate, Floor | | | | | | 4.50% | | | | | | | | | | | | |