XML 96 R79.htm IDEA: XBRL DOCUMENT
v3.22.0.1

BORROWED FUNDS - Repurchase Agreements (Details) - Customer Repurchase Agreements - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Debt Instrument [Line Items] |  |
Total secured borrowings | $ 19,802 | $ 27,779
US Government sponsored enterprises |  |
Debt Instrument [Line Items] |  |
Total secured borrowings | $ 19,802 | $ 27,779

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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying value, as of the balance sheet date, of securities sold under agreements to repurchase where the transferor maintains effective control over the assets, accounting for them as secured debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729 + Details
Name: | us-gaap_SecuredDebtRepurchaseAgreements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

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