XML 106 R85.htm IDEA: XBRL DOCUMENT
v3.25.0.1

EMPLOYEE BENEFIT PLANS - 401(k) and Other plans (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 USD ($) item | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
Defined Benefit Plan Disclosure [Line Items] |  |  |
Total 401(k) expense | $ 1,200 | $ 1,200 | $ 1,200
Number of executives | item | 1 |  |
Salary continuation agreement |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Accrued liability | $ 5,800 | 6,300 |
Benefit expense | 90 | 255 | 1,200
Split-dollar life insurance agreement |  |  |
Defined Benefit Plan Disclosure [Line Items] |  |  |
Accrued liability | 674 | 709 |
Benefit expense | $ 32 | $ 30 | $ 197

X
- Definition The number of participants in the plan. + References No definition available. + Details
Name: | bhb_NumberOfParticipantsInPlan
Namespace Prefix: | bhb_
Data Type: | xbrli:integerItemType
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: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The carrying amount as of the balance sheet date of the obligations recognized for the various benefits provided to former or inactive employees, their beneficiaries, and covered dependents after employment but before retirement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 712 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481179/712-10-25-4 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 712 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481179/712-10-25-5 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_PostemploymentBenefitsLiabilityCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Period expense related to postemployment benefits. + References No definition available. + Details
Name: | us-gaap_PostemploymentBenefitsPeriodExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=bhb_SalaryContinuationAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=bhb_SplitdollarLifeInsuranceAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |