XML 42 R32.htm IDEA: XBRL DOCUMENT
v3.25.2

Securities (Narrative) (Details) | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2025 USD ($) | Jun. 30, 2024 USD ($) | Jun. 30, 2025 USD ($) security | Jun. 30, 2024 USD ($)
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 120 |
Available-for-sale Securities Pledged as Collateral | $ | $ 49,360,000 | $ 44,865,000 | $ 49,360,000 | $ 44,865,000
Available-for-sale securities as collateral with correspondent banks | $ | 37,000,000 | 37,000,000 | 37,000,000 | 37,000,000
Available-for-sale securities as collateral for advances at Federal Reserve Bank | $ | 26,000,000 | 29,000,000 | 26,000,000 | 29,000,000
Debt securities, available-for-sale, allowance for credit Loss | $ | 0 |  | 0 |
Proceeds from sales of securities available-for-sale | $ | $ 0 | $ 8,754,000 | $ 0 | $ 8,754,000
Publicly Traded Domestic Corporations [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 11 |
U.S. Agency Obligations [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 51 |
Municipals [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 56 |
Non-Public Financial Institutions [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 2 |
Non-rated [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 5 |
S&P Rated AAA [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 26 |
S&P Rated AA [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 83 |
S&P Rated A [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 4 |
S&P Rated BBB [Member] |  |  |  |
Marketable Securities [Line Items] |  |  |  |
Number of securities owned in an unrealized loss position |  |  | 2 |

X
- Definition Available-for-sale securities as collateral for advances at Federal Reserve Bank + References No definition available. + Details
Name: | botj_AvailableForSaleSecuritiesAsCollateralForAdvancesAtFederalReserveBank
Namespace Prefix: | botj_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale securities as collateral with correspondent banks. + References No definition available. + Details
Name: | botj_AvailableForSaleSecuritiesAsCollateralWithCorrespondentBanks
Namespace Prefix: | botj_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number Of Securities Owned In An Unrealized Loss Position + References No definition available. + Details
Name: | botj_NumberOfSecuritiesOwnedInUnrealizedLossPosition
Namespace Prefix: | botj_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of allowance for credit loss on 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://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aaa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-9 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479106/326-30-50-9 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of restricted 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://www.xbrl.org/2003/role/disclosureRef -Topic 860 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481420/860-30-50-1A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 954 -SubTopic 210 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477220/954-210-45-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 954 -SubTopic 210 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478600/954-210-50-2 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRestricted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_MarketableSecuritiesLineItems
Namespace Prefix: | us-gaap_
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://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-9 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-12 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-11 + 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: | us-gaap_FinancialInstrumentAxis=botj_NonPublicFinancialInstitutionsMember
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: |