XML 64 R52.htm IDEA: XBRL DOCUMENT
v3.22.4

Short-term and long-term debt - Additional Information (Details) |  |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Mar. 02, 2022 USD ($) | Apr. 23, 2020 USD ($) | Mar. 31, 2022 USD ($) | Sep. 30, 2021 USD ($) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($)
Short-term and long-term debt |  |  |  |  |  |
Forgiveness of Payroll Protection Program loan |  |  |  |  |  | $ (2,475,000)
Paycheck Protection Program | CARES Act Loan |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Unsecured loan |  | $ 2,475,000 |  |  |  |
Forgiveness of Payroll Protection Program loan |  |  |  | $ 2,475,000 |  |
Term of unforgiven loan |  | 2 years |  |  |  |
Debt instrument interest at fixed rate |  | 1.00% |  |  |  |
Deferral term of unforgiven loan |  | 9 months |  |  |  |
FCCR |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Payment of debt, cash flow amount |  |  |  |  | $ 15,000,000 |
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,000 |  |  |  |  |
Term Loan Facility |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Debt instrument loan amount | 85,000,000 |  |  |  |  |
Payment of term loan deferred financing costs | $ 4,300,000 |  |  |  |  |
Principal payments on term loan, percentage |  |  | 5.00% |  |  |
Percentage of excess cash flow in which annual payments made | 50.00% |  |  |  |  |
Prepayment premium percentage year one | 3.00% |  |  |  |  |
Prepayment premium percentage year two | 2.00% |  |  |  |  |
Prepayment premium percentage year three | 1.00% |  |  |  |  |
Prepayment premium percentage year four and thereafter | 0.00% |  |  |  |  |
Term Loan Facility | Base Rate |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 2.00% |  |  |  |  |
Term Loan Facility | Federal Funds |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 0.50% |  |  |  |  |
Term Loan Facility | SOFR |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 1.00% |  |  |  |  |
Prior Term Loan Facility |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Deferred financing costs | $ 1,300,000 |  |  |  |  |
Payment of debt, cash flow amount | 16,000,000.0 |  |  |  |  |
Principal balance of debt | 63,900,000 |  |  |  |  |
Lender fees and expenses on debt | $ 3,300,000 |  |  |  |  |
Credit facility, interest expense |  |  | $ 4,600,000 |  |  |
Minimum | FCCR |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Fixed charges coverage ratio |  |  |  |  | 1.0 |
Fixed charge coverage ratio requirement |  |  |  |  | 1.0 |
Debt instrument, leverage ratio |  |  |  |  | 0.34 |
Leverage ratio, maximum |  |  |  |  | 1.0 |
Minimum | SOFR plus Applicable leverage ratio |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Additional interest percentage | 7.00% |  |  |  |  |
Minimum | Applicable Leverage Ratio |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Additional interest percentage | 6.00% |  |  |  |  |
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 | FCCR |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Fixed charges coverage ratio |  |  |  |  | 4.45 |
Fixed charge coverage ratio requirement |  |  |  |  | 1.10 |
Debt instrument, leverage ratio |  |  |  |  | 1.0 |
Leverage ratio, maximum |  |  |  |  | 4.00 |
Maximum | SOFR plus Applicable leverage ratio |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Additional interest percentage | 8.00% |  |  |  |  |
Maximum | Applicable Leverage Ratio |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Additional interest percentage | 7.00% |  |  |  |  |
Maximum | Revolving credit facility Amendment | SOFR |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Additional interest percentage | 2.86% |  |  |  |  |
Wells Fargo |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Maximum borrowing capacity | $ 90,000,000 |  |  |  |  |
Minimum liquidity requirement | 5,000,000 |  |  |  |  |
Deferred financing costs | $ 900,000 |  |  |  |  |
Line of credit facility term | 5 years |  |  |  |  |
Wells Fargo | FILO Tranche |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Amount borrowed | $ 15,000,000 |  |  |  |  |
Wells Fargo | FCCR |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Minimum aggregate undrawn loan availability | $ 11,250,000 |  |  |  |  |
Period for FCCR covenant | 12 months |  |  |  |  |
Wells Fargo | Revolving credit facility Amendment |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Amount borrowed | $ 75,000,000 |  |  |  |  |
Wells Fargo | Amended and restated revolving credit and security agreement |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Maximum borrowing capacity | 75,000,000 |  |  |  |  |
Wells Fargo | Swing line loan |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Maximum borrowing capacity | 9,000,000 |  |  |  |  |
Wells Fargo | Letter of credit |  |  |  |  |  |
Short-term and long-term debt |  |  |  |  |  |
Maximum borrowing capacity | $ 2,000,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,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 Represents the information pertaining to leverage ratio, maximum. + References No definition available. + Details
Name: | hdsn_DebtInstrumentLeverageRatioMaximum
Namespace Prefix: | hdsn_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the information pertaining to leverage ratio, required. + References No definition available. + Details
Name: | hdsn_DebtInstrumentLeverageRatioRequired
Namespace Prefix: | hdsn_
Data Type: | xbrli:pureItemType
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 Prepayment premium percentage in year four and thereafter. + References No definition available. + Details
Name: | hdsn_DebtPrepaymentPremiumPercentageYearFourAndThereafter
Namespace Prefix: | hdsn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The Prepayment premium percentage year one. + References No definition available. + Details
Name: | hdsn_DebtPrepaymentPremiumPercentageYearOne
Namespace Prefix: | hdsn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Prepayment premium percentage in year three. + References No definition available. + Details
Name: | hdsn_DebtPrepaymentPremiumPercentageYearThree
Namespace Prefix: | hdsn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Prepayment premium percentage in year two. + References No definition available. + Details
Name: | hdsn_DebtPrepaymentPremiumPercentageYearTwo
Namespace Prefix: | hdsn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fixed charge coverage ratio reported during the year. + References No definition available. + Details
Name: | hdsn_FixedChargeCoverageRatioRequirement
Namespace Prefix: | hdsn_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 percentage of excess cash flow in which annual payments to be made as defined in the Term Loan Facility. + References No definition available. + Details
Name: | hdsn_PercentageOfExcessCashFlowInWhichAnnualPaymentsMade
Namespace Prefix: | hdsn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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 The percentage of original principal amount of the outstanding Term Loan per annum, paid as principal payment. + References No definition available. + Details
Name: | hdsn_PrincipalPaymentAsPercentageOfOriginalPrincipalAmountOfOutstandingTermLoanPerAnnum
Namespace Prefix: | hdsn_
Data Type: | dtr-types:percentItemType
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 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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: 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(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 3: 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 https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: 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 https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + 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://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: 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 https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 + 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://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.A) -URI https://asc.fasb.org/extlink&oid=122040515&loc=d3e105025-122735 + Details
Name: | us-gaap_DeferredOfferingCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_ProceedsFromLinesOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&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 https://asc.fasb.org/extlink&oid=126897435&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 https://asc.fasb.org/extlink&oid=126734703&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_FCCRMember
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_VariableRateAxis=us-gaap_BaseRateMember
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_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: | us-gaap_VariableRateAxis=hdsn_SecuredOvernightFinancingRatePlusApplicableLeverageRatioMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=hdsn_ApplicableLeverageRatioMember
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_WellsFargoMember
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: |