XML 50 R39.htm IDEA: XBRL DOCUMENT
v3.22.4

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2022
Leases |
Schedule of lease cost | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31, |
(Dollars in thousands) |  | 2022 |  | 2021 |  | 2020 |
Operating lease cost | ​ | $ | 1,008 | ​ | $ | 1,331 | ​ | $ | 1,616 | ​
Finance lease cost: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Amortization of right-of-use asset | ​ | ​ | 314 | ​ | ​ | 314 | ​ | ​ | 166 | ​
Interest on lease liability | ​ | ​ | 125 | ​ | ​ | 129 | ​ | ​ | 70 | ​
Short-term lease cost | ​ | ​ | 139 | ​ | ​ | 142 | ​ | ​ | 219 | ​
Variable lease cost | ​ |  | 97 | ​ |  | 46 | ​ |  | 52 | ​
Total lease cost | ​ | $ | 1,683 | ​ | $ | 1,962 | ​ | $ | 2,123 | ​
​
Schedule of balance sheet details and quantitative details | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | December 31, | ​ | December 31,
(Dollars in thousands) | ​ | ​ | 2022 |  | 2021
Operating leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Right of use assets | ​ | $ | 2,887 | ​ | $ | 3,221 | ​
Lease liabilities | ​ | ​ | 2,965 | ​ | ​ | 3,324 | ​
Weighted average remaining lease term (years) | ​ | ​ | 6.5 | ​ | ​ | 7.0 | ​
Weighted average discount rate | ​ | ​ | 1.6 | % | ​ | 1.7 | %
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Finance leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Right of use assets | ​ | $ | 5,565 | ​ | $ | 5,879 | ​
Lease liabilities | ​ |  | 6,141 | ​ |  | 6,346 | ​
Weighted average remaining lease term (years) | ​ | ​ | 17.5 | ​ | ​ | 18.5 | ​
Weighted average discount rate | ​ | ​ | 2.0 | % | ​ | 2.0 | %
​
Schedule of cash flow information | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31, |
(Dollars in thousands) |  | 2022 |  | 2021 |  | 2020 |
Operating leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Operating cash flows | ​ | $ | 1,823 | ​ | $ | 1,313 | ​ | $ | 1,659 | ​
Finance leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Operating cash flows | ​ | ​ | 125 | ​ | ​ | 129 | ​ | ​ | 70 | ​
Financing cash flows | ​ | ​ | 440 | ​ | ​ | 195 | ​ | ​ | 53 | ​
Total cash flows | ​ | $ | 2,388 | ​ | $ | 1,637 | ​ | $ | 1,782 | ​
Schedule of maturities of operating lease liabilities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2022
(Dollars in thousands) | ​ | Operating Leases | ​ | Finance Leases
2023 | ​ | $ | 744 | ​ | $ | 310
2024 | ​ | ​ | 759 | ​ | ​ | 346
2025 | ​ | ​ | 472 | ​ | ​ | 355
2026 | ​ | ​ | 303 | ​ | ​ | 364
2027 | ​ | ​ | 123 | ​ | ​ | 373
Thereafter | ​ | ​ | 773 | ​ | ​ | 5,637
Total | ​ |  | 3,174 | ​ |  | 7,385
Imputed interest | ​ |  | (209) | ​ |  | (1,244)
Lease liabilities | ​ | $ | 2,965 | ​ | $ | 6,141
Schedule of maturities of finance lease liabilities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2022
(Dollars in thousands) | ​ | Operating Leases | ​ | Finance Leases
2023 | ​ | $ | 744 | ​ | $ | 310
2024 | ​ | ​ | 759 | ​ | ​ | 346
2025 | ​ | ​ | 472 | ​ | ​ | 355
2026 | ​ | ​ | 303 | ​ | ​ | 364
2027 | ​ | ​ | 123 | ​ | ​ | 373
Thereafter | ​ | ​ | 773 | ​ | ​ | 5,637
Total | ​ |  | 3,174 | ​ |  | 7,385
Imputed interest | ​ |  | (209) | ​ |  | (1,244)
Lease liabilities | ​ | $ | 2,965 | ​ | $ | 6,141

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 -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration