XML 53 R40.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Leases |
Schedule of lease cost | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31, |
(Dollars in thousands) |  | 2023 |  | 2022 |  | 2021 |
Operating lease cost | ​ | $ | 872 | ​ | $ | 1,008 | ​ | $ | 1,331 | ​
Finance lease cost: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Amortization of right-of-use asset | ​ | ​ | 314 | ​ | ​ | 314 | ​ | ​ | 314 | ​
Interest on lease liability | ​ | ​ | 121 | ​ | ​ | 125 | ​ | ​ | 129 | ​
Short-term lease cost | ​ | ​ | 99 | ​ | ​ | 139 | ​ | ​ | 142 | ​
Variable lease cost | ​ |  | 63 | ​ |  | 97 | ​ |  | 46 | ​
Total lease cost | ​ | $ | 1,469 | ​ | $ | 1,683 | ​ | $ | 1,962 | ​
Schedule of balance sheet details and quantitative details | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | December 31, | ​ | December 31,
(Dollars in thousands) | ​ | ​ | 2023 |  | 2022
Operating leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Right of use assets | ​ | $ | 2,836 | ​ | $ | 2,887 | ​
Lease liabilities | ​ | ​ | 2,877 | ​ | ​ | 2,965 | ​
Weighted average remaining lease term (years) | ​ | ​ | 8.0 | ​ | ​ | 6.5 | ​
Weighted average discount rate | ​ | ​ | 2.7 | % | ​ | 1.6 | %
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Finance leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Right of use assets | ​ | $ | 5,251 | ​ | $ | 5,565 | ​
Lease liabilities | ​ |  | 5,921 | ​ |  | 6,141 | ​
Weighted average remaining lease term (years) | ​ | ​ | 16.5 | ​ | ​ | 17.5 | ​
Weighted average discount rate | ​ | ​ | 2.0 | % | ​ | 2.0 | %
Schedule of cash flow information | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31, |
(Dollars in thousands) |  | 2023 |  | 2022 |  | 2021 |
Operating leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Operating cash flows | ​ | $ | 905 | ​ | $ | 1,823 | ​ | $ | 1,313 | ​
Finance leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Operating cash flows | ​ | ​ | 121 | ​ | ​ | 125 | ​ | ​ | 129 | ​
Financing cash flows | ​ | ​ | 220 | ​ | ​ | 440 | ​ | ​ | 195 | ​
Total cash flows | ​ | $ | 1,246 | ​ | $ | 2,388 | ​ | $ | 1,637 | ​
Schedule of maturities of operating lease liabilities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2023
(Dollars in thousands) | ​ | Operating Leases | ​ | Finance Leases
2024 | ​ | $ | 799 | ​ | $ | 315
2025 | ​ | ​ | 609 | ​ | ​ | 355
2026 | ​ | ​ | 398 | ​ | ​ | 364
2027 | ​ | ​ | 164 | ​ | ​ | 373
2028 | ​ | ​ | 122 | ​ | ​ | 382
Thereafter | ​ | ​ | 1,154 | ​ | ​ | 5,255
Total | ​ |  | 3,246 | ​ |  | 7,044
Imputed interest | ​ |  | (369) | ​ |  | (1,123)
Lease liabilities | ​ | $ | 2,877 | ​ | $ | 5,921
​
Schedule of maturities of finance lease liabilities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2023
(Dollars in thousands) | ​ | Operating Leases | ​ | Finance Leases
2024 | ​ | $ | 799 | ​ | $ | 315
2025 | ​ | ​ | 609 | ​ | ​ | 355
2026 | ​ | ​ | 398 | ​ | ​ | 364
2027 | ​ | ​ | 164 | ​ | ​ | 373
2028 | ​ | ​ | 122 | ​ | ​ | 382
Thereafter | ​ | ​ | 1,154 | ​ | ​ | 5,255
Total | ​ |  | 3,246 | ​ |  | 7,044
Imputed interest | ​ |  | (369) | ​ |  | (1,123)
Lease liabilities | ​ | $ | 2,877 | ​ | $ | 5,921
​

X
- Definition Tabular disclosure of leases balance sheet information and other quantitative details. + References No definition available. + Details
Name: | cffi_LeaseBalanceSheetDisclosureAndQuantitativeDetailsTableTextBlock
Namespace Prefix: | cffi_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lease cash flow information. + References No definition available. + Details
Name: | cffi_LeasesCashFlowInformationTableTextBlock
Namespace Prefix: | cffi_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of finance lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to finance lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration