XML 47 R38.htm IDEA: XBRL DOCUMENT
v3.22.1

Securities (Narrative) (Details) | 3 Months Ended
--- | ---
Mar. 31, 2022 USD ($) security
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |
Securities evaluated for other than temporary impairment | 108
Proceeds from Sale of Available-for-sale Securities | $ | $ 0
US Agency Obligations [Member] |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |
Securities evaluated for other than temporary impairment | 53
S&P Rated AAA [Member] |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |
Securities evaluated for other than temporary impairment | 44
S&P Rated AA [Member] |
Number Of Securities Evaluated For Other Than Temporary Impairment [Line Items] |
Securities evaluated for other than temporary impairment | 57

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 http://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 http://asc.fasb.org/extlink&oid=123570139&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 http://asc.fasb.org/extlink&oid=123570139&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=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
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: |