XML 86 R77.htm IDEA: XBRL DOCUMENT
v3.23.2

Commitments and Contingent Liabilities - Loan Commitments (Details) - C&F Bank - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Standby Letters of Credit |  |
Commitments and Contingent Liabilities |  |
Face amount of asset | $ 14,290 | $ 16,260
Loan commitments |  |
Commitments and Contingent Liabilities |  |
Face amount of asset | $ 444,220 | $ 394,750

X
- Definition The face amount of financial assets, which are not recognized in the financial statements (off-balance sheet) because they fail to meet some other criterion for recognition. + References No definition available. + Details
Name: | us-gaap_FairValueDisclosureOffbalanceSheetRisksFaceAmountAsset
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_FairValueOffBalanceSheetRisksDisclosureInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=cffi_CAndFBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=cffi_LoanCommitmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |