Note 5 - Debt (Details Textual) - USD ($) | | | | | | | | | | | 1 Months Ended | 2 Months Ended | 3 Months Ended | 4 Months Ended | 12 Months Ended | | | | | | |
Mar. 24, 2022 | Mar. 18, 2022 | Mar. 09, 2022 | Dec. 23, 2021 | Jul. 08, 2021 | Apr. 26, 2021 | Mar. 18, 2021 | Feb. 11, 2021 | Sep. 23, 2020 | Apr. 10, 2020 | May 31, 2022 | Dec. 31, 2021 | Nov. 30, 2021 | Oct. 31, 2021 | Mar. 31, 2022 | Mar. 31, 2022 | Sep. 30, 2021 | Sep. 30, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | Mar. 22, 2022 | Dec. 21, 2021 | Nov. 12, 2021 | Mar. 24, 2021 | Dec. 31, 2019 | Aug. 10, 2017 |
Long-term Debt, Total | | | | | | | | | | | | $ 14,434,000 | | | | | | | $ 14,434,000 | $ 22,480,000 | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | | | | | | | | | | | | $ 3.57 | | | | | | | $ 3.57 | $ 3.73 | | | | | $ 3.34 | |
Gains (Losses) on Restructuring of Debt | | | | | | | | | | | | | | | | | | | $ 0 | $ 11,916,000 | | | | | | |
Effect on Basic and Diluted Earnings Per Share, Convertible Securities (in dollars per share) | | | | | | | | | | | | | | | | | | | | $ 2.85 | | | | | | |
Proceeds from Sale of Productive Assets, Total | | | | | | | | | | | | $ 272,000 | | | | | | | | | | | | | | |
Interest Expense, Total | | | | | | | | | | | | | | | | | | | 57,000 | $ 1,695,000 | | | | | | |
Gain (Loss) on Extinguishment of Debt, Total | | | | | | | | | | | | | | | | | | | $ 1,964,000 | $ 0 | | | | | | |
Warrant Issued in Connection with Amended 2017 Credit Agreement [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Warrants and Rights Outstanding, Term (Year) | | | | | | | | | 5 years | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right (in shares) | | | | | | | | | 1,000,000 | | | | | | | | | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights (in dollars per share) | | | | | | | | | $ 3.75 | | | | | | | | | | | | | | | | | |
Warrants and Rights Outstanding | | | | | | | | | $ 1,400,000 | | | | | | | | | | | | | | | | | |
Conversion from 2017 Credit Agreement Loan Concession to Common Stock [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Conversion, Converted Instrument, Shares Issued (in shares) | | | | | | | | | 533,334 | | | | | | | | | | | | | | | | | |
Shares Issued, Price Per Share (in dollars per share) | | | | | | | | | $ 2.0775 | | | | | | | | | | | | | | | | | |
Debt Conversion, Converted Instrument, Amount | | | | | | | | | $ 1,100,000 | | | | | | | | | | | | | | | | | |
Subsequent Event [Member] | Heat Waves Hot Oil Service LLC at Colorado [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Maximum Percentage on Advance to Accounts Receivable Factored | 85% | | | | | | | | | | | | | | | | | | | | | | | | | |
Maximum Amount on Advance to Accounts Receivable Factored | $ 10,000,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Receivable Fee, Percentage of Receivable Purchased in Addition to Fund Usage Daily Fee | 0.10% | | | | | | | | | | | | | | | | | | | | | | | | | |
Funds Usage Daily Fee, Percentage | 0.021% | | | | | | | | | | | | | | | | | | | | | | | | | |
Revolving Credit Facility [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Term (Year) | | | | | | | | | | | | | | | | | | | 10 years | 10 years | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | 8.25% | | | | | | | 8.25% | 8.25% | | | | | | |
Debt Instrument, Interest Rate, Calculated Monthly and Paid in Arrears | | | | | | | | | | | | 5.25% | | | | | | | 5.25% | 5.25% | | | | | | |
Debt Instrument, Interest Rate, Accrued on Principal Balance | | | | | | | | | | | | 3% | | | | | | | 3% | 3% | | | | | | |
Long-term Debt, Total | | | | | | | | | | | | $ 14,102,000 | | | | | | | $ 14,102,000 | $ 19,078,000 | | | | | | |
Utica Leaseco, LLC [Member] | Master Lease Agreement [Member] | Subsequent Event [Member] | Heat Waves Hot Oil Service LLC at Colorado [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Face Amount | $ 6,225,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Term (Year) | 51 months | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment, Total | $ 168,075 | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Covenant, Option, Payment of Lease Facility in Exchange for Reduced Payment schedule | $ 1,000,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Utica Leaseco, LLC [Member] | Master Lease Agreement [Member] | Subsequent Event [Member] | Heat Waves Hot Oil Service LLC at Colorado [Member] | Minimum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment Terms, Balloon Payment to be Paid, Percentage of Principle | 1% | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment Terms, Balloon Payment to be Paid | $ 62,250 | | | | | | | | | | | | | | | | | | | | | | | | | |
Utica Leaseco, LLC [Member] | Master Lease Agreement [Member] | Subsequent Event [Member] | Heat Waves Hot Oil Service LLC at Colorado [Member] | Maximum [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment Terms, Balloon Payment to be Paid, Percentage of Principle | 10% | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Periodic Payment Terms, Balloon Payment to be Paid | $ 622,500 | | | | | | | | | | | | | | | | | | | | | | | | | |
The 2017 Credit Agreement [Member] | East West Bank [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | 8.25% | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Calculated Monthly and Paid in Arrears | | | | | | | | | 5.25% | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Accrued on Principal Balance | | | | | | | | | 3% | | | | | | | | | | | | | | | | | |
Debt Instrument, Covenant, Minimum Liquidity | | | | | | | | | | | | | | | | | | | | 1,500,000 | | | | | | |
Debt Instrument, Covenant, Percentage of Projected Gross Revenue Achieved | | | | | | | | | | | | 80% | 80% | | | | 70% | | | | | | | | | |
Debt Instrument, Covenant, Maximum Capital Expenditures | | | | | | | | | | | | | | | | | $ 1,200,000 | | | | | | | | | |
Repayments of Long-term Debt, Total | | | | | | | | $ 3,000,000 | | | | | | | | | | | | | | | | | | |
Long-term Debt, Total | | | | | | | | | | | | $ 13,500,000 | | | | | | | $ 13,500,000 | | | | | | | |
Debt, Weighted Average Interest Rate | | | | | | | | | | | | 8.25% | | | | | | | 8.25% | | | | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | | | | | | | | | | | | | | | | | 1,000,000 | | | | | | | | | |
Long-term Debt, Gross | | | | | | | | | | | | $ 14,100,000 | | | | | | | $ 14,100,000 | | | | | | | |
Interest Payable | | | | | | | | | | | | 38,000 | | | | | | | 38,000 | | | | | | | |
Debt Instrument, Non-compliance, Projected Gross Revenue, Amount Lower Than Requirement | | | | | | | | | | | | | | $ 172,000 | | | | | | | | | | | | |
Debt Instrument, Fee Amount | | | | | | | | | | | | | | | | | | | | | | | $ 70,000 | | | |
Gains (Losses) on Restructuring of Debt | | | | | | | | | | | | | | | | | | | | 11,900,000 | | | | | | |
The 2017 Credit Agreement [Member] | East West Bank [Member] | Forecast [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Covenant, Percentage of Projected Gross Revenue Achieved | | | | | | | | | | | 80% | | | | | | | 70% | | | | | | | | |
The 2017 Credit Agreement [Member] | East West Bank [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Covenant, Percentage of Projected Gross Revenue Achieved | | | | | | | | | | | | | | | 80% | | | | | | | | | | | |
The 2017 Credit Agreement [Member] | East West Bank [Member] | Equipment Term Loan [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | $ 17,000,000 | | | | | | | | | | | | | | | | | |
Repayments of Long-term Debt, Total | | | | $ 272,000 | | | | | | | | | | | | | | | | | | | | | | |
The 2017 Credit Agreement [Member] | East West Bank [Member] | Revolving Credit Facility [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity, Percent of Eligible Receivables | | | | | | | | | | | | | | | | | | | | | | | | | | 85% |
Line of Credit Facility, Maximum Borrowing Capacity, Percentage of Trucks and Equipment | | | | | | | | | | | | | | | | | | | | | | | | | | 85% |
Line of Credit Facility, Decrease, Forgiveness | | | | | | | | | 16,000,000 | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | | $ 1,000,000 | | | | | | | | | | | | | | | | | |
Debt Instrument, Term (Year) | | | | | | 10 years | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Unused Capacity, Commitment Fee Percentage | | | | | | | | | 0.50% | | | | | | | | | | | | | | | | | |
The 2022 Refinancing Agreement [Member] | East West Bank [Member] | Revolving Credit Facility [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Long-term Debt, Gross | | | | | | | | | | | | 14,100,000 | | | | | | | 14,100,000 | | | | | | | |
Line of Credit Facility, Fair Value of Amount Outstanding | | | | | | | | | | | | | | | | | | | | | | | | $ 13,800,000 | | |
Repayments of Lines of Credit | | | | | | | $ 8,400,000 | | | | | | | | | | | | | | | | | | | |
Lines of Credit, Percentage of Net Proceeds From Receivables Financing, Payments for Refinancing. | | | | | | | 5% | | | | | | | | | | | | | | | | | | | |
Lines of Credit, Value of Net Proceeds From Receivables Financing, Payments for Refinancing. | | | | | | | $ 1,000,000 | | | | | | | | | | | | | | | | | | | |
Long-Term Line of Credit, Noncurrent | | | | | | | | | | | | 5,400,000 | | | | | | | 5,400,000 | | | | | | | |
The 2022 Refinancing Agreement [Member] | East West Bank [Member] | Revolving Credit Facility [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Line of Credit Facility, Fair Value of Amount Outstanding | $ 13,800,000 | | | | | | | | | | | | | | | | | | | | | | | | | |
Repayments of Lines of Credit | | $ 8,400,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Lines of Credit, Percentage of Net Proceeds From Receivables Financing, Payments for Refinancing. | | 500% | | | | | | | | | | | | | | | | | | | | | | | | |
Lines of Credit, Value of Net Proceeds From Receivables Financing, Payments for Refinancing. | | $ 1,000,000 | | | | | | | | | | | | | | | | | | | | | | | | |
Cross River Working Capital Note [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Face Amount | | | $ 1,200,000 | | | | | | | | | | | | | | | | | | $ 1,200,000 | | | | | |
Debt Instrument, Term (Year) | | | 6 years | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | 7% | | | | | | | | | | | | | | | | | | | | | | | |
Interest Payable | | | $ 15,000 | | | | | | | | | | | | | | | | | | | | | | | |
Subordinated Debt with Related Party [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | | | | | | | | | | | | | | $ 220,000 | | | | |
Long-term Debt, Total | | | | | | | | | | | | 220,000 | | | | | | | 220,000 | 0 | | | | | | |
Interest Payable | | | | | | | | | | | | | | | | | | | | | | 10,000 | | | | |
Debt Instrument, Fee Amount | | | | | | | | | | | | $ 10,000 | | | | | | | 10,000 | $ 10,000 | | | | | | |
Deposit Assets, Total | | | | | | | | | | | | | | | | | | | | | | $ 210,000 | | | | |
Interest Expense, Total | | | | | | | | | | | | | | | | | | | $ 1,000 | | | | | | | |
Subordinated Debt with Related Party [Member] | Subsequent Event [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Repayments of Subordinated Debt, Total | | | | | | | | | | | | | | | | $ 162,000 | | | | | | | | | | |
Paycheck Protection Program CARES Act [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | | | | 1% | | | | | | | 1% | 1% | | | | | | |
Long-term Debt, Total | | | | | | | | | | | | $ 0 | | | | | | | $ 0 | $ 1,940,000 | | | | | | |
Proceeds from Issuance of Long-term Debt, Total | | | | | | | | | | | | | | | | | | | $ 0 | $ 1,940,000 | | | | | | |
Paycheck Protection Program CARES Act [Member] | East West Bank [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Proceeds from Issuance of Long-term Debt, Total | | | | | | | | | | $ 1,900,000 | | | | | | | | | | | | | | | | |
Debt Instrument, Decrease, Forgiveness | | | | | $ 1,900,000 | | | | | | | | | | | | | | | | | | | | | |
Debt Instrument, Decrease, Forgiveness of Accrued Interest | | | | | $ 24,000 | | | | | | | | | | | | | | | | | | | | | |
Paycheck Protection Program CARES Act [Member] | East West Bank [Member] | Other Income (Expense) [Member] | | | | | | | | | | | | | | | | | | | | | | | | | | |
Gain (Loss) on Extinguishment of Debt, Total | | | | | | | | | | | | | | | | | $ 2,000,000 | | | | | | | | | |