XML 114 R103.htm IDEA: XBRL DOCUMENT
v3.22.4

Employee Benefit Plans - Defined Benefit Plans - Expected Benefit Payments (Details) - C&F Bank - Cash Balance Plan $ in Thousands | Dec. 31, 2022 USD ($)
--- | ---
Expected benefit payments |
2023 | $ 814
2024 | 1,305
2025 | 1,828
2026 | 950
2027 | 910
2028 - 2032 | $ 10,023

X
- References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of benefit for defined benefit plan expected to be paid in five fiscal years after fifth fiscal year following current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of benefit for defined benefit plan expected to be paid in next fiscal year following current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of benefit for defined benefit plan expected to be paid in fifth fiscal year following current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of benefit for defined benefit plan expected to be paid in fourth fiscal year following current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of benefit for defined benefit plan expected to be paid in third fiscal year following current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of benefit for defined benefit plan expected to be paid in second fiscal year following current fiscal year. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 + Details
Name: | us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=cffi_CashBalancePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |