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

Securities (Narrative) (Details) | 6 Months Ended
--- | ---
Jun. 30, 2023 USD ($) security | Jun. 30, 2022 USD ($)
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Number of securities past due or on nonaccrual | 0 |
Securities evaluated for other than temporary impairment | 119 |
Proceeds from sale of securities available-for-sale | $ | $ 0 | $ 0
Debt Securities, Held-to-Maturity, Allowance for Credit Loss | $ | $ 0 |
Publicly Traded Domestic Corporations [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 9 |
U.S. Agency Obligations [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 57 |
Municipals [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 53 |
Non-rated [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 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 |
S&P Rated AA [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 63 |
S&P Rated A [Member] |  |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |  |
Securities evaluated for other than temporary impairment | 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 |

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 Number of securities past due or on nonaccrual + References No definition available. + Details
Name: | botj_NumberOfSecuritiesPastDueOrOnNonaccrual
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of allowance for credit loss for debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aaa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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