XML 58 R47.htm IDEA: XBRL DOCUMENT
v3.23.1

BORROWED FUNDS - Repurchase Agreements (Details) - Customer Repurchase Agreements - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Debt Instrument [Line Items] |  |
Total secured borrowings | $ 12,734 | $ 13,369
US Government sponsored enterprises |  |
Debt Instrument [Line Items] |  |
Total secured borrowings | $ 12,734 | $ 13,369

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 https://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: |