XML 48 R39.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Securities (Narrative) (Details) | 3 Months Ended | 9 Months Ended
--- | --- | ---
Sep. 30, 2022 USD ($) security | Sep. 30, 2021 USD ($) | Sep. 30, 2022 USD ($) security | Sep. 30, 2021 USD ($)
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 120 |  | 120 |
Proceeds from Sale of Available-for-sale Securities | $ | $ 0 | $ 0 | $ 0 | $ 0
Publicly traded domestic corporations [Member] |  |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 10 |  | 10 |
US Agency Obligations [Member] |  |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 58 |  | 58 |
Municipals [Member] |  |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 52 |  | 52 |
Non-rated [Member] |  |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 1 |  | 1 |
S&P Rated AAA [Member] |  |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 48 |  | 48 |
S&P Rated AA [Member] |  |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 64 |  | 64 |
S&P Rated A [Member] |  |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 6 |  | 6 |
S&P Rated BBB [Member] |  |  |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |  |  |
Securities evaluated for other than temporary impairment | 1 |  | 1 |

X
- Definition Number of securities evaluated for other than temporary impairment. + References No definition available. + Details
Name: | botj_NumberOfSecuritiesEvaluatedForOtherThanTemporaryImpairment
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] + References No definition available. + Details
Name: | botj_NumberOfSecuritiesEvaluatedForOtherThanTemporaryImpairmentLineItems
Namespace Prefix: | botj_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash inflow from sale of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3151-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=botj_PubliclyTradedDomesticCorporationsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USStatesAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=botj_NonRatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=srt_StandardPoorsAAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=srt_StandardPoorsAARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=srt_StandardPoorsARatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CreditRatingStandardPoorsAxis=srt_StandardPoorsBBBRatingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |