XML 51 R40.htm IDEA: XBRL DOCUMENT
v3.20.2

Short-term and long-term debt - Additional Information (Details) |  |  |  | 1 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | --- | ---
Apr. 23, 2020 USD ($) | Dec. 19, 2019 USD ($) | Oct. 10, 2017 USD ($) | Dec. 31, 2021 USD ($) | Sep. 30, 2021 USD ($) | Jun. 30, 2021 USD ($) | Mar. 31, 2021 USD ($) | Dec. 31, 2020 USD ($) | Sep. 30, 2020 USD ($) | Jun. 30, 2020 USD ($) | Mar. 31, 2020 USD ($) | Dec. 31, 2019 USD ($) | Sep. 30, 2019 USD ($) | Jun. 30, 2020 USD ($) | Dec. 31, 2019
Paycheck Protection Program [Member] | CARES Act Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage | 1.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unsecured loan | $ 2,475,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term of unforgiven loan | 2 years |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferral term of unforgiven loan | 6 years |  |  |  |  |  |  |  |  |  |  |  |  |  |
TLR [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total Leverage Ratio |  |  |  |  |  |  |  |  |  |  |  |  |  | 7.24% | 11.22%
Term Loan Facility [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment fee (as a percent) |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.50% |
First Amendment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity | $ 2,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fourth Amendment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Principal repayment |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 14,000,000 |
Total Leverage Ratio |  |  |  |  | 6.08% | 7.03% | 7.75% | 8.89% | 8.89% | 10.87% | 16.57% | 14.54% | 15.67% |  |
Minimum Aggregate Undrawn Availability Excess Cash Flow Calculation |  |  |  |  |  |  |  |  |  | $ 5,000,000 |  |  |  | $ 5,000,000 |
Last twelve months adjusted earnings before interest, tax, depreciation and amortization |  |  |  | $ 16,267,000 | $ 15,431,000 | $ 14,566,000 | $ 14,295,000 | $ 12,300,000 | $ 12,021,000 | $ 11,745,000 | $ 7,359,000 | $ 7,954,000 | $ 7,887,000 |  |
Threshold period after trigger event the entity shall commence transaction |  |  |  |  |  |  |  |  |  |  |  |  |  | 6 months |
Threshold period after trigger event the entity shall consummate transaction |  |  |  |  |  |  |  |  |  |  |  |  |  | 18 months |
Fourth Amendment | Effective March 31, 2020 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Principal repayment |  |  |  |  |  |  |  |  |  |  | $ 562,000 |  |  |  |
Fourth Amendment | Effective December 31, 2020 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Principal repayment |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,312,000 |
Fourth Amendment | Through March 31, 2020 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment fee (as a percent) |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.50% |
Fourth Amendment | From April 1, 2020 through March 31, 2021 [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment fee (as a percent) |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.50% |
Fourth Amendment | From April 1, 2021 and thereafter [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amendment fee (as a percent) |  |  |  |  |  |  |  |  |  |  |  |  |  | 5.00% |
Fifth Amendment To Term Loan Credit And Security Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity | $ 2,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vehicle and Equipment Loans |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Expiration Period |  |  |  |  |  |  |  |  |  |  |  |  |  | 60 months |
Vehicle and Equipment Loans | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description under PNC facility |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.0% |
Vehicle and Equipment Loans | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest rate description under PNC facility |  |  |  |  |  |  |  |  |  |  |  |  |  | 8.3% |
Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  | $ 105,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Term Loan | Euro Dollar |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  | 10.25% |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 3.00% |  |  |  |  |  |  |  |  |  |  |  |
Term Loan | Second Amendment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred Financing Costs |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,000,000 |
Term Loan | Fourth Amendment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred Financing Costs |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 500,000 |
Domestic Rate Loans [Member] | Amended And Restated Revolving Credit And Security Agreement | London Interbank Offered Rate Daily Libor [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.00% |
Domestic Rate Loans [Member] | Amended And Restated Revolving Credit And Security Agreement | Federal Funds Purchased [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.50% |
Domestic Rate Loans [Member] | Minimum | Amended And Restated Revolving Credit And Security Agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional interest percentage |  |  |  |  |  |  |  |  |  | 1.25% |  |  |  | 1.25% |
Domestic Rate Loans [Member] | Maximum | Amended And Restated Revolving Credit And Security Agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Additional interest percentage |  |  |  |  |  |  |  |  |  | 1.75% |  |  |  | 1.75% |
Eurodollar Rate Loans [Member] | Minimum | Amended And Restated Revolving Credit And Security Agreement | Euro Dollar |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.25% |
Eurodollar Rate Loans [Member] | Maximum | Amended And Restated Revolving Credit And Security Agreement | Euro Dollar |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.75% |
Wells Fargo | Amended And Restated Revolving Credit And Security Agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | $ 60,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Wells Fargo | Swing Line Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | 5,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Wells Fargo | Letter of Credit [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | 2,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Wells Fargo | Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum amount to be derived from availability |  | 3,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum aggregate undrawn loan availability |  | $ 7,500,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Wells Fargo | Revolving Credit Facility | FCCR [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fixed Charges Coverage Ratio |  | 1.00 |  |  |  |  |  |  |  |  |  |  |  |  |
Period for FCCR covenant |  | 2 months |  |  |  |  |  |  |  |  |  |  |  |  |
Revolver Guaranty and Security Agreement | Wells Fargo |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Right to dominion over certain borrower's bank accounts |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 9,000,000 |

X
- Definition Percentage points added to the calculated interest rate dependent on average quarterly undrawn availability. + References No definition available. + Details
Name: | hdsn_DebtInstrumentAdditionalPercentagePointsInterest
Namespace Prefix: | hdsn_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percent of the fee as closing conditions to the execution and delivery of the amendment. + References No definition available. + Details
Name: | hdsn_DebtInstrumentAmendmentFeePercent
Namespace Prefix: | hdsn_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The information pertaining to period for which interest can be deferred for unforgiven loan under paycheck protection program. + References No definition available. + Details
Name: | hdsn_DebtInstrumentInterestDeferralTerm
Namespace Prefix: | hdsn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of LTM adjusted ebitda reported during the year. + References No definition available. + Details
Name: | hdsn_DebtInstrumentLastTwelveMonthsAdjustedEarningsBeforeInterestTaxDepreciationAndAmortization
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount represents the information of principal repayments. + References No definition available. + Details
Name: | hdsn_DebtInstrumentLineOfCreditFacilityPeriodicPaymentPrincipal
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the threshold period after trigger event the entity shall commence transaction. + References No definition available. + Details
Name: | hdsn_DebtInstrumentThresholdPeriodAfterTriggerEventEntityShallCommenceTransaction
Namespace Prefix: | hdsn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the threshold period after trigger event the entity shall consummate transaction. + References No definition available. + Details
Name: | hdsn_DebtInstrumentThresholdPeriodAfterTriggerEventEntityShallConsummateTransaction
Namespace Prefix: | hdsn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the information pertaining to deferred financing costs. + References No definition available. + Details
Name: | hdsn_DeferredFinancingCosts
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Fixed charge coverage ratio reported during the year. + References No definition available. + Details
Name: | hdsn_FixedChargesCoverageRatio
Namespace Prefix: | hdsn_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the minimum amount to be derived from availability. + References No definition available. + Details
Name: | hdsn_LineOfCreditFacilityCovenantComplianceMinimumLiquidityToBeDerivedFromAvailability
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The minimum aggregate undrawn term loan availability used to determine percentage of excess cash flow to be used to paydown the loan. + References No definition available. + Details
Name: | hdsn_MinimumAggregateUndrawnAvailabilityExcessCashFlowCalculation
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The minimum aggregate undrawn term loan availability used to determine percentage of excess cash flow to be used to paydown the loan. + References No definition available. + Details
Name: | hdsn_MinimumAggregateUndrawnLoanAvailability
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the period for FCCR covenant. + References No definition available. + Details
Name: | hdsn_PeriodForFixedChargeCoverageRatio
Namespace Prefix: | hdsn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents agent shall receive the right to dominion over certain of the Borrowers' bank accounts in the event of an Event of Default or if undrawn availability. + References No definition available. + Details
Name: | hdsn_RightToDominionInEventOfDefaultOrUndrawnAvailability
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the information pertaining to total leverage ratio. + References No definition available. + Details
Name: | hdsn_TotalLeverageRatio
Namespace Prefix: | hdsn_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=114775744&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period remaining on line of credit facility before it terminates, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the interest rate for the amounts borrowed under the credit facility, including the terms and the method for determining the interest rate (for example, fixed or variable, LIBOR plus a percentage, increasing rate, timing of interest rate resets, remarketing provisions). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Period between issuance and maturity of long-term debt, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258 + Details
Name: | us-gaap_LongTermDebtTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of uncollateralized debt obligations (with maturities initially due after one year or beyond the operating cycle if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=119400593&loc=d3e572229-122910 + Details
Name: | us-gaap_UnsecuredDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=hdsn_PaycheckProtectionProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=hdsn_CaresActLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=hdsn_TLRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=hdsn_TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=hdsn_WaiverAndFirstAmendmentToTermLoanCreditAndSecurityAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=hdsn_FourthAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=hdsn_EffectiveMarch312020Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=hdsn_EffectiveDecember312020Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=hdsn_ThroughMarch312020Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=hdsn_FromApril12020ThroughMarch312021Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=hdsn_FromApril12021AndThereafterMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=hdsn_FifthAmendmentToTermLoanCreditAndSecurityAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=hdsn_VehicleAndEquipmentLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=hdsn_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_EurodollarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=hdsn_WaiverAndSecondAmendmentToTermLoanCreditAndSecurityAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=hdsn_DomesticRateLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=hdsn_AmendedAndRestatedRevolvingCreditAndSecurityAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=hdsn_LondonInterbankOfferedRateDailyLiborMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsPurchasedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=hdsn_EurodollarRateLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=hdsn_WellsFargoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=hdsn_SwingLineLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=hdsn_FCCRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=hdsn_RevolverGuarantyAndSecurityAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |