XML 66 R52.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Short-term and Long-term debt - Additional Information (Details) - USD ($) $ in Thousands |  |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Mar. 02, 2022 | Apr. 23, 2020 | Sep. 30, 2023 | Mar. 31, 2022 | Sep. 30, 2021 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Short-term and Long-term debt |  |  |  |  |  |  |  |
Repayment of debt |  |  |  |  |  | $ 47,161 | $ 148,054 | $ 5,252
Amortization of deferred finance cost |  |  |  |  |  | $ 726 | $ 1,086 | 1,125
Forgiveness of Payroll Protection Program loan |  |  |  |  |  |  |  | $ (2,475)
Paycheck Protection Program | CARES Act Loan |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Unsecured loan |  | $ 2,475 |  |  |  |  |  |
Forgiveness of Payroll Protection Program loan |  |  |  |  | $ 2,475 |  |  |
Term of unforgiven loan |  | 2 years |  |  |  |  |  |
Debt instrument interest at fixed rate |  | 1.00% |  |  |  |  |  |
Deferral term of unforgiven loan |  | 9 months |  |  |  |  |  |
Revolving credit facility Amendment |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 1.00% |  |  |  |  |  |  |
Additional interest percentage | 0.50% |  |  |  |  |  |  |
Revolving credit facility Amendment | SOFR |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 1.00% |  |  |  |  |  |  |
Revolving credit facility Amendment | SOFR | FILO Tranche |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 1.00% |  |  |  |  |  |  |
Additional interest percentage | 0.50% |  |  |  |  |  |  |
Revolving credit facility Amendment | SOFR | SOFR FILO Tranche |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 7.50% |  |  |  |  |  |  |
Revolving credit facility Amendment | Prime commercial lending rate of Wells Fargo |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 1.75% |  |  |  |  |  |  |
Revolving credit facility Amendment | Prime commercial lending rate of Wells Fargo | FILO Tranche |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 6.50% |  |  |  |  |  |  |
Revolving Credit Facility |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Deferred financing costs | $ 200 |  |  |  |  |  |  |
Term Loan Facility |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Debt instrument loan amount | 85,000 |  |  |  |  |  |  |
Payment of term loan deferred financing costs | 4,300 |  |  |  |  |  |  |
Prior Term Loan Facility |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Deferred financing costs | 1,300 |  |  |  |  |  |  |
Principal balance of debt | 63,900 |  |  |  |  |  |  |
Payment of debt, cash flow amount | 16,000 |  |  |  |  |  |  |
Lender fees and expenses on debt | $ 3,300 |  |  |  |  |  |  |
Credit facility, interest expense |  |  |  | $ 4,600 |  |  |  |
Minimum | Revolving credit facility Amendment | SOFR |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 2.36% |  |  |  |  |  |  |
Minimum | Revolving credit facility Amendment | Prime commercial lending rate of Wells Fargo |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 1.25% |  |  |  |  |  |  |
Maximum | Revolving credit facility Amendment | SOFR |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 2.86% |  |  |  |  |  |  |
Term Loan |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Repayment of debt |  |  | $ 3,400 |  |  |  |  |
Amortization of deferred finance cost |  |  | 3,100 |  |  |  |  |
Other expense and fees |  |  | 300 |  |  |  |  |
Term Loan | FILO Tranche |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Repayment of debt |  |  | $ 32,500 |  |  |  |  |
Wells Fargo |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Amount outstanding, letter of credit | $ 900 |  |  |  |  |  |  |
Minimum liquidity requirement | 5,000 |  |  |  |  |  |  |
Deferred financing costs | $ 900 |  |  |  |  |  |  |
Line of credit facility term | 5 years |  |  |  |  |  |  |
Wells Fargo | FILO Tranche |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Amount borrowed | $ 15,000 |  |  |  |  |  |  |
Wells Fargo | FCCR |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Minimum aggregate undrawn loan availability | $ 11,250 |  |  |  |  |  |  |
Period for FCCR covenant | 12 months |  |  |  |  |  |  |
Wells Fargo | Revolving credit facility Amendment |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Amount borrowed | $ 75,000 |  |  |  |  |  |  |
Wells Fargo | Amended and restated revolving credit and security agreement |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Maximum borrowing capacity | 75,000 |  |  |  |  |  |  |
Wells Fargo | Swing line loan |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Maximum borrowing capacity | 9,000 |  |  |  |  |  |  |
Wells Fargo | Letter of credit |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Maximum borrowing capacity | $ 2,000 |  |  |  |  |  |  |
Wells Fargo | Revolving Credit Facility | FCCR |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Period for FCCR covenant | 2 months |  |  |  |  |  |  |
Wells Fargo | Minimum | FCCR |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Fixed charges coverage ratio | 1.00 |  |  |  |  |  |  |
Wells Fargo | Minimum | Revolving credit facility Amendment |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 0.35% |  |  |  |  |  |  |
Wells Fargo | Maximum |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Minimum amount to be derived from availability | $ 3,000 |  |  |  |  |  |  |
Wells Fargo | Maximum | FCCR |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Fixed charges coverage ratio | 1.00 |  |  |  |  |  |  |
Wells Fargo | Maximum | Revolving credit facility Amendment |  |  |  |  |  |  |  |
Short-term and Long-term debt |  |  |  |  |  |  |  |
Additional interest percentage | 0.75% |  |  |  |  |  |  |

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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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 debt paid in the form of excess cash flow amount. + References No definition available. + Details
Name: | hdsn_DebtInstrumentPaymentExcessCashFlowAmount
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 from availability. + References No definition available. + Details
Name: | hdsn_LineOfCreditFacilityCovenantComplianceMinimumLiquidity
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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_MinimumAggregateUndrawnLoanAvailability
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of forgiveness under payment protection program. + References No definition available. + Details
Name: | hdsn_PaymentProtectionProgramForgiveness
Namespace Prefix: | hdsn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | hdsn_ShortTermAndLongTermDebtLineItems
Namespace Prefix: | hdsn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of amortization expense attributable to debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1F Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(8)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_AmortizationOfFinancingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482900/835-30-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org//1943274/2147481568/470-20-55-69C Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-2 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482949/835-30-55-8 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the charge against earnings during the period for commitment fees and debt issuance expenses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482925/835-30-45-3 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1D + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Specific incremental costs directly attributable to a proposed or actual offering of securities which are deferred at the end of the reporting period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 340 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.A) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480341/340-10-S99-1 + Details
Name: | us-gaap_DeferredOfferingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 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 -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the required periodic payment applied to interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityPeriodicPaymentInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_LongTermDebtTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-14 + Details
Name: | us-gaap_ProceedsFromLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479886/946-10-S99-3 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + 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_CreditFacilityAxis=hdsn_RevolvingCreditFacilityAmendmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | us-gaap_VariableRateAxis=hdsn_PrimeCommercialLendingRateOfWellsFargoMember
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_CreditFacilityAxis=hdsn_TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=hdsn_PriorTermLoanFacilityMember
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_LineOfCreditFacilityAxis=hdsn_WellsFargoMember
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_CreditFacilityAxis=hdsn_AmendedAndRestatedRevolvingCreditAndSecurityAgreementMember
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: |