XML 101 R90.htm IDEA: XBRL DOCUMENT
v3.22.4

Borrowings - Line of Credit and other disclosures (Details) $ in Thousands | Dec. 31, 2022 USD ($)
--- | ---
Long-term borrowings |
Available sources of credit for future borrowings | $ 432,610
FHLB |
Long-term borrowings |
Available sources of credit for future borrowings | 203,040
FRB |
Long-term borrowings |
Available sources of credit for future borrowings | 99,570
Federal Funds Agreements |
Long-term borrowings |
Available sources of credit for future borrowings | 95,000
Repurchase Lines of Credit |
Long-term borrowings |
Available sources of credit for future borrowings | $ 35,000

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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unused borrowing capacity under the long-term financing arrangement that is available to the entity as of the balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=us-gaap_FederalHomeLoanBankBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=cffi_FederalReserveBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=cffi_FederalFundsAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=cffi_RepurchaseLinesOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |