XML 126 R112.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Regulatory Requirements and Restrictions - New minimum capital ratios (Details) | Dec. 31, 2021
--- | ---
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: |