XML 120 R109.htm IDEA: XBRL DOCUMENT
v3.22.4

Regulatory Requirements and Restrictions - New minimum capital ratios (Details) | Dec. 31, 2022
--- | ---
Regulatory requirements |
Capital conservation buffer requirement | 2.50%
C&F Bank |
Regulatory requirements |
Capital conservation buffer requirement | 7.00%
Total capital conservation buffer exceeded | 10.50%
Tier 1 capital conservation buffer exceeded | 8.50%

X
- Definition CET1 capital conservation buffer exceeded. + References No definition available. + Details
Name: | cffi_Cet1CapitalConservationBufferExceeded
Namespace Prefix: | cffi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The capital conservation buffer is designed to ensure that capital buffers are built up outside periods of stress which can be drawn down as losses are incurred. + References No definition available. + Details
Name: | cffi_RegulatoryCapitalConservationBufferPercentage
Namespace Prefix: | cffi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total capital conservation buffer exceeded. + References No definition available. + Details
Name: | cffi_TotalCapitalConservationBufferExceeded
Namespace Prefix: | cffi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems
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: |