XML 45 R36.htm IDEA: XBRL DOCUMENT
v3.23.2

Fair Value Measurements (Impaired Loans And Other Real Estate Owned Measured At Fair Value On A Nonrecurring Basis) (Details) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |
Other real estate owned | $ 500 | $ 566 | $ 761
Fair Value, Nonrecurring [Member] |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |
Impaired loans |  | 854 |
Other real estate owned | 500 | 566 |
Significant Unobservable Inputs (Level 3) [Member] | Fair Value, Nonrecurring [Member] |  |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |  |
Impaired loans |  | 854 |
Other real estate owned | $ 500 | $ 566 |

X
- Definition Impaired Loans At Fair Value + References No definition available. + Details
Name: | botj_ImpairedLoansAtFairvalue
Namespace Prefix: | botj_
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_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of land and buildings obtained through foreclosure proceedings or defeasance in full or partial satisfaction of a debt arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5162-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124259787&loc=d3e4437-111522 + Details
Name: | us-gaap_RealEstateAcquiredThroughForeclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsNonrecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |