XML 54 R40.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Leases |
Schedule of lease cost | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31, |
(Dollars in thousands) |  | 2021 |  | 2020 |  | 2019 |
Operating lease cost | ​ | $ | 1,331 | ​ | $ | 1,616 | ​ | $ | 1,681 | ​
Finance lease cost: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Amortization of right-of-use asset | ​ | ​ | 314 | ​ | ​ | 166 | ​ | ​ | — | ​
Interest on lease liability | ​ | ​ | 129 | ​ | ​ | 70 | ​ | ​ | — | ​
Short-term lease cost | ​ | ​ | 142 | ​ | ​ | 219 | ​ | ​ | 128 | ​
Variable lease cost | ​ |  | 46 | ​ |  | 52 | ​ |  | 43 | ​
Total lease cost | ​ | $ | 1,962 | ​ | $ | 2,123 | ​ | $ | 1,852 | ​
Schedule of balance sheet details and quantitative details | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | December 31, | ​ | December 31,
(Dollars in thousands) | ​ | ​ | 2021 |  | 2020
Operating leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Right of use assets | ​ | $ | 3,221 | ​ | $ | 2,404 | ​
Lease liabilities | ​ | ​ | 3,324 | ​ | ​ | 2,488 | ​
Weighted average remaining lease term (years) | ​ | ​ | 7.0 | ​ | ​ | 3.0 | ​
Weighted average discount rate | ​ | ​ | 1.7 | % | ​ | 2.2 | %
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Finance leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Right of use assets | ​ | $ | 5,879 | ​ | $ | 6,193 | ​
Lease liabilities | ​ |  | 6,346 | ​ |  | 6,305 | ​
Weighted average remaining lease term (years) | ​ | ​ | 18.5 | ​ | ​ | 19.5 | ​
Weighted average discount rate | ​ | ​ | 2.0 | % | ​ | 2.0 | %
Schedule of cash flow information | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31, |
(Dollars in thousands) |  | 2021 |  | 2020 |  | 2019 |
Operating leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Operating cash flows | ​ | $ | 1,313 | ​ | $ | 1,659 | ​ | $ | 1,567 | ​
Finance leases: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Operating cash flows | ​ | ​ | 129 | ​ | ​ | 70 | ​ | ​ | — | ​
Financing cash flows | ​ | ​ | 195 | ​ | ​ | 53 | ​ | ​ | — | ​
Total cash flows | ​ | $ | 1,637 | ​ | $ | 1,782 | ​ | $ | 1,567 | ​
Schedule of maturities of operating lease liabilities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021
(Dollars in thousands) | ​ | Operating Leases | ​ | Finance Leases
2022 | ​ | $ | 870 | ​ | $ | 302
2023 | ​ | ​ | 751 | ​ | ​ | 337
2024 | ​ | ​ | 536 | ​ | ​ | 346
2025 | ​ | ​ | 323 | ​ | ​ | 355
2026 | ​ | ​ | 214 | ​ | ​ | 364
Thereafter | ​ | ​ | 881 | ​ | ​ | 6,009
Total | ​ |  | 3,575 | ​ |  | 7,713
Imputed interest | ​ |  | (251) | ​ |  | (1,367)
Lease liabilities | ​ | $ | 3,324 | ​ | $ | 6,346
Schedule of maturities of finance lease liabilities | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31, 2021
(Dollars in thousands) | ​ | Operating Leases | ​ | Finance Leases
2022 | ​ | $ | 870 | ​ | $ | 302
2023 | ​ | ​ | 751 | ​ | ​ | 337
2024 | ​ | ​ | 536 | ​ | ​ | 346
2025 | ​ | ​ | 323 | ​ | ​ | 355
2026 | ​ | ​ | 214 | ​ | ​ | 364
Thereafter | ​ | ​ | 881 | ​ | ​ | 6,009
Total | ​ |  | 3,575 | ​ |  | 7,713
Imputed interest | ​ |  | (251) | ​ |  | (1,367)
Lease liabilities | ​ | $ | 3,324 | ​ | $ | 6,346

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 http://asc.fasb.org/extlink&oid=123408670&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 http://asc.fasb.org/extlink&oid=123408670&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 http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration