XML 62 R48.htm IDEA: XBRL DOCUMENT
v3.25.1

Organization (Narrative) (Details) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 item | Dec. 31, 2021 USD ($)
Organization [Line Items] |  |
Number of bank divisions | 2 |
Number of wholly-owned non-operating subsidiaries | 1 |
Number of bank locations | 4 |
Lynchburg Virginia [Member] |  |
Organization [Line Items] |  |
Limited service bank branch | 1 |
Forest Virginia [Member] |  |
Organization [Line Items] |  |
Number of bank locations | 1 |
Madison Heights [Member] |  |
Organization [Line Items] |  |
Number of bank locations | 1 |
Amherst Virginia [Member] |  |
Organization [Line Items] |  |
Number of bank locations | 1 |
Bedford Virginia [Member] |  |
Organization [Line Items] |  |
Number of bank locations | 1 |
Altavista Virginia [Member] |  |
Organization [Line Items] |  |
Number of bank locations | 1 |
Appomattox Virginia [Member] |  |
Organization [Line Items] |  |
Number of bank locations | 1 |
Charlottesville Virginia [Member] |  |
Organization [Line Items] |  |
Number of bank locations | 2 |
Limited service bank branch | 1 |
Pettyyjohn, Wood & White, Inc. [Member] |  |
Organization [Line Items] |  |
Acquisition of assets under management and advisement | $ |  | $ 650

X
- Definition Limited Service Bank Banches + References No definition available. + Details
Name: | botj_LimitedServiceBankBanches
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Bank Branches + References No definition available. + Details
Name: | botj_NumberOfBankBranches
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of bank divisions. + References No definition available. + Details
Name: | botj_NumberOfBankDivisions
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number Of Wholly-Owned Non-Operating Subsidiaries + References No definition available. + Details
Name: | botj_NumberOfWhollyOwnedNonOperatingSubsidiaries
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Organization [Line Items] + References No definition available. + Details
Name: | botj_OrganizationLineItems
Namespace Prefix: | botj_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of assets acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479907/805-20-50-1 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_StatementGeographicalAxis=botj_LynchburgVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_ForestVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_MadisonHeightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_AmherstVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_BedfordVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_AltavistaVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_AppomattoxVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=botj_CharlottesvilleVirginiaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=botj_PettyyjohnWoodAndWhiteIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |