XML 34 R24.htm IDEA: XBRL DOCUMENT
v3.25.3

Basis Of Presentation (Narrative) (Details) | 9 Months Ended |
--- | --- | ---
Sep. 30, 2025 USD ($) item | Dec. 31, 2024 USD ($)
Basis Of Presentation [Line Items] |  |
Number of jurisdictions | item | 7 |
Intangible asset, net of amortization | $ 6,305,000 | $ 6,725,000
Customer Relationships [Member] | Pettyjohn, Wood & White, Inc [Member] |  |
Basis Of Presentation [Line Items] |  |
Assets acquisition consideration transferred in amortizable intangible assets | 8,406,000 |
Annual amortization of intangible asset | $ 560,000 |
Amortizable period of intangible assets | 15 years |
Intangible asset, net of amortization | $ 6,305,000 | $ 6,725,000

X
- Definition Intangible Asset, Annual Amortization Amount. + References No definition available. + Details
Name: | botj_IntangibleAssetAnnualAmortizationAmount
Namespace Prefix: | botj_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of jurisdictions + References No definition available. + Details
Name: | botj_NumberOfJurisdictions
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 Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of intangible assets, excluding goodwill, 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_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483154/926-20-50-5 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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