XML 28 R2.htm IDEA: XBRL DOCUMENT
v3.22.4

Pay vs Performance Disclosure | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
Pay vs Performance Disclosure [Table] |  |  |
Pay vs Performance [Table Text Block] | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Average | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Summary | ​ | ​ | Average | ​ | ​ | Value of Initial Fixed $100 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Compensation | ​ | ​ | Compensation | ​ | ​ | Investment Based on3: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | Summary | ​ | ​ | ​ | ​ | ​ | Table Total | ​ | ​ | Actually Paid | ​ | ​ | ​ | ​ | ​ | Peer group | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | Compensation | ​ | ​ | Compensation | ​ | ​ | for Non-PEO | ​ | ​ | to Non-PEO | ​ | ​ | Total | ​ | ​ | Total | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | Table Total | ​ | ​ | Actually Paid | ​ | ​ | Named Executive | ​ | ​ | Named Executive | ​ | ​ | Shareholder | ​ | ​ | Shareholder | ​ | ​ | Net Income | ​ | ​ | Adjusted | ​ | ​ | Adjusted | ​
​ | ​ | ​ | for PEO1 | ​ | ​ | to PEO2 | ​ | ​ | Officers1 | ​ | ​ | Officers2 | ​ | ​ | Return | ​ | ​ | Return | ​ | ​ | (in thousands) | ​ | ​ | ROE4 | ​ | ​ | ROA4 | ​
Year | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | (%) | ​ | ​ | (%) | ​
2022 | ​ | ​ | 1,160,058 | ​ | ​ | 1,236,413 | ​ | ​ | 530,208 | ​ | ​ | 553,696 | ​ | ​ | 117.2 | ​ | ​ | 100.7 | ​ | ​ | 29,369 | ​ | ​ | 13.64 | ​ | ​ | 1.16 | ​
2021 | ​ | ​ | 1,157,133 | ​ | ​ | 1,363,725 | ​ | ​ | 962,681 | ​ | ​ | 982,576 | ​ | ​ | 99.7 | ​ | ​ | 106.4 | ​ | ​ | 29,123 | ​ | ​ | 15.22 | ​ | ​ | 1.38 | ​
2020 | ​ | ​ | 977,599 | ​ | ​ | 672,340 | ​ | ​ | 1,092,857 | ​ | ​ | 865,040 | ​ | ​ | 70.1 | ​ | ​ | 74.3 | ​ | ​ | 22,424 | ​ | ​ | 12.54 | ​ | ​ | 1.14 | ​
| 1 | The amounts shown above are the amounts reported in the Summary Compensation Table on page 42 as total compensation for Mr. Cherry, who was the principal executive officer (“PEO”) for all years presented, and the average for each year of total compensation for Messrs. Long, Dillon, McKernon and Crone, who were the NEOs other than the PEO for all years presented.
​
| 2 | Compensation actually paid to Mr. Cherry represents total compensation reported in the Summary Compensation Table, with certain adjustments as described below. Compensation actually paid differs from the amount shown in the Summary Compensation Table and does not represent the total amount earned or total amount paid in any particular year. Total compensation, as reported in the Summary Compensation Table, was adjusted by (1) removing the change in pension value, which represents the actuarial increase in present value of accumulated benefits in each year under the Retirement Plan established by the Bank for Messrs. Cherry, Long and Dillon; (2) including the amount of service cost recognized by the Corporation under ASC Topic 715, which represents the actuarial present value of benefits under the Retirement Plan attributable to services rendered in each year for Messrs. Cherry, Long and Dillon; (3) removing the grant date fair value of stock awards granted in each year, as determined under ASC Topic 718; (4) including with respect to outstanding restricted stock awards for each year (i) the year-end fair value of any awards granted during the year that are outstanding and unvested as of the end of the year; (ii) the change in fair value as of the end of the year (from the end of the prior year) of any awards granted in prior years that are outstanding and unvested as of the end of the applicable year; and (iii) for awards granted in prior years that vested in the applicable year, the change in fair value as of the vesting date (from the end of the prior year). Total compensation as reported in the Summary Compensation Table and compensation actually paid both include the amount of dividends paid on unvested restricted stock awards.
​ The amounts of the adjustments described above that were added to (or deducted from) the Summary Compensation Table total for the PEO to arrive at compensation actually paid for the PEO for each year are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | ​ | ​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | ​ | ​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
Year | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
2022 | ​ | ​ | (52,773) | ​ | ​ | 39,521 | ​ | ​ | (202,240) | ​ | ​ | 233,080 | ​ | ​ | 56,817 | ​ | ​ | 1,950 | ​
2021 | ​ | ​ | (48,498) | ​ | ​ | 40,537 | ​ | ​ | (217,408) | ​ | ​ | 254,670 | ​ | ​ | 85,185 | ​ | ​ | 92,106 | ​
2020 | ​ | ​ | (50,007) | ​ | ​ | 36,843 | ​ | ​ | (162,260) | ​ | ​ | 113,186 | ​ | ​ | (230,301) | ​ | ​ | (12,720) | ​
​ The amounts of the adjustments described above that were added to (or deducted from) the average Summary Compensation Table total for NEOs other than the PEO to arrive at average compensation actually paid to non-PEO NEOs for each year are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | ​ | ​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | ​ | ​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
Year | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
2022 | ​ | ​ | (13,487) | ​ | ​ | 6,335 | ​ | ​ | (62,884) | ​ | ​ | 72,473 | ​ | ​ | 19,983 | ​ | ​ | 1,068 | ​
2021 | ​ | ​ | (84,182) | ​ | ​ | 6,774 | ​ | ​ | (71,559) | ​ | ​ | 83,824 | ​ | ​ | 39,811 | ​ | ​ | 45,227 | ​
2020 | ​ | ​ | (94,029) | ​ | ​ | 5,607 | ​ | ​ | (63,042) | ​ | ​ | 43,975 | ​ | ​ | (111,620) | ​ | ​ | (8,708) | ​
​ ​
| 3 | Cumulative total shareholder return is calculated assuming $100 was invested in the common stock of the Corporation or in the stock of the financial institutions included in the 2022 Incentive Compensation Peer Group on December 31, 2019, and assumes the reinvestment of dividends. For more information on the financial institutions included in the 2022 Incentive Compensation Peer Group, refer to page 26 and to the stock performance graph included in Item 5. “Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities,” in the Corporation’s Annual Report on Form 10-K for the year ended December 31, 2022, filed with the SEC on February 28, 2023. For purposes of the cumulative total shareholder return reported in this table, the 2022 Incentive Compensation Peer Group is weighted according to the respective financial institution’s market capitalization as of December 31, 2019.
| 4 | Adjusted ROE and adjusted ROA are financial measures that are not consistent with U.S. GAAP that are considered by the Corporation as part of its executive compensation program. Refer to Appendix A for information regarding these non-GAAP financial measures, including a reconciliation to the most directly comparable U.S. GAAP financial measures. The Committee has identified a variety of performance goals and metrics used for the purpose of awarding compensation to executive officers that are consistent with the Corporation’s overall compensation philosophy and the long-term interests of its shareholders. Among these, the Committee has identified adjusted ROE as the most important financial performance measure (that is not otherwise required to be disclosed in the table above) used by the Corporation to link compensation actually paid to its NEOs for the year ended December 31, 2022 to company performance. Adjusted ROA, which is also used by the Corporation to evaluate performance as part of its executive compensation program, is shown in the table above as a supplemental financial performance measure.
Company Selected Measure Name | Adjusted ROE |  |
Named Executive Officers, Footnote [Text Block] |
| 1 | The amounts shown above are the amounts reported in the Summary Compensation Table on page 42 as total compensation for Mr. Cherry, who was the principal executive officer (“PEO”) for all years presented, and the average for each year of total compensation for Messrs. Long, Dillon, McKernon and Crone, who were the NEOs other than the PEO for all years presented.
Peer Group Issuers, Footnote [Text Block] |
| 3 | Cumulative total shareholder return is calculated assuming $100 was invested in the common stock of the Corporation or in the stock of the financial institutions included in the 2022 Incentive Compensation Peer Group on December 31, 2019, and assumes the reinvestment of dividends. For more information on the financial institutions included in the 2022 Incentive Compensation Peer Group, refer to page 26 and to the stock performance graph included in Item 5. “Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities,” in the Corporation’s Annual Report on Form 10-K for the year ended December 31, 2022, filed with the SEC on February 28, 2023. For purposes of the cumulative total shareholder return reported in this table, the 2022 Incentive Compensation Peer Group is weighted according to the respective financial institution’s market capitalization as of December 31, 2019.
PEO Total Compensation Amount | $ 1,160,058 | $ 1,157,133 | $ 977,599
PEO Actually Paid Compensation Amount | $ 1,236,413 | 1,363,725 | 672,340
Adjustment To PEO Compensation, Footnote [Text Block] | ​
| 2 | Compensation actually paid to Mr. Cherry represents total compensation reported in the Summary Compensation Table, with certain adjustments as described below. Compensation actually paid differs from the amount shown in the Summary Compensation Table and does not represent the total amount earned or total amount paid in any particular year. Total compensation, as reported in the Summary Compensation Table, was adjusted by (1) removing the change in pension value, which represents the actuarial increase in present value of accumulated benefits in each year under the Retirement Plan established by the Bank for Messrs. Cherry, Long and Dillon; (2) including the amount of service cost recognized by the Corporation under ASC Topic 715, which represents the actuarial present value of benefits under the Retirement Plan attributable to services rendered in each year for Messrs. Cherry, Long and Dillon; (3) removing the grant date fair value of stock awards granted in each year, as determined under ASC Topic 718; (4) including with respect to outstanding restricted stock awards for each year (i) the year-end fair value of any awards granted during the year that are outstanding and unvested as of the end of the year; (ii) the change in fair value as of the end of the year (from the end of the prior year) of any awards granted in prior years that are outstanding and unvested as of the end of the applicable year; and (iii) for awards granted in prior years that vested in the applicable year, the change in fair value as of the vesting date (from the end of the prior year). Total compensation as reported in the Summary Compensation Table and compensation actually paid both include the amount of dividends paid on unvested restricted stock awards.
​ The amounts of the adjustments described above that were added to (or deducted from) the Summary Compensation Table total for the PEO to arrive at compensation actually paid for the PEO for each year are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | ​ | ​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | ​ | ​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
Year | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
2022 | ​ | ​ | (52,773) | ​ | ​ | 39,521 | ​ | ​ | (202,240) | ​ | ​ | 233,080 | ​ | ​ | 56,817 | ​ | ​ | 1,950 | ​
2021 | ​ | ​ | (48,498) | ​ | ​ | 40,537 | ​ | ​ | (217,408) | ​ | ​ | 254,670 | ​ | ​ | 85,185 | ​ | ​ | 92,106 | ​
2020 | ​ | ​ | (50,007) | ​ | ​ | 36,843 | ​ | ​ | (162,260) | ​ | ​ | 113,186 | ​ | ​ | (230,301) | ​ | ​ | (12,720) | ​
​ The amounts of the adjustments described above that were added to (or deducted from) the average Summary Compensation Table total for NEOs other than the PEO to arrive at average compensation actually paid to non-PEO NEOs for each year are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | ​ | ​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | ​ | ​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
Year | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
2022 | ​ | ​ | (13,487) | ​ | ​ | 6,335 | ​ | ​ | (62,884) | ​ | ​ | 72,473 | ​ | ​ | 19,983 | ​ | ​ | 1,068 | ​
2021 | ​ | ​ | (84,182) | ​ | ​ | 6,774 | ​ | ​ | (71,559) | ​ | ​ | 83,824 | ​ | ​ | 39,811 | ​ | ​ | 45,227 | ​
2020 | ​ | ​ | (94,029) | ​ | ​ | 5,607 | ​ | ​ | (63,042) | ​ | ​ | 43,975 | ​ | ​ | (111,620) | ​ | ​ | (8,708) | ​
​ |  |
Non-PEO NEO Average Total Compensation Amount | $ 530,208 | 962,681 | 1,092,857
Non-PEO NEO Average Compensation Actually Paid Amount | $ 553,696 | 982,576 | 865,040
Adjustment to Non-PEO NEO Compensation Footnote [Text Block] | ​
| 2 | Compensation actually paid to Mr. Cherry represents total compensation reported in the Summary Compensation Table, with certain adjustments as described below. Compensation actually paid differs from the amount shown in the Summary Compensation Table and does not represent the total amount earned or total amount paid in any particular year. Total compensation, as reported in the Summary Compensation Table, was adjusted by (1) removing the change in pension value, which represents the actuarial increase in present value of accumulated benefits in each year under the Retirement Plan established by the Bank for Messrs. Cherry, Long and Dillon; (2) including the amount of service cost recognized by the Corporation under ASC Topic 715, which represents the actuarial present value of benefits under the Retirement Plan attributable to services rendered in each year for Messrs. Cherry, Long and Dillon; (3) removing the grant date fair value of stock awards granted in each year, as determined under ASC Topic 718; (4) including with respect to outstanding restricted stock awards for each year (i) the year-end fair value of any awards granted during the year that are outstanding and unvested as of the end of the year; (ii) the change in fair value as of the end of the year (from the end of the prior year) of any awards granted in prior years that are outstanding and unvested as of the end of the applicable year; and (iii) for awards granted in prior years that vested in the applicable year, the change in fair value as of the vesting date (from the end of the prior year). Total compensation as reported in the Summary Compensation Table and compensation actually paid both include the amount of dividends paid on unvested restricted stock awards.
​ The amounts of the adjustments described above that were added to (or deducted from) the Summary Compensation Table total for the PEO to arrive at compensation actually paid for the PEO for each year are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | ​ | ​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | ​ | ​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
Year | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
2022 | ​ | ​ | (52,773) | ​ | ​ | 39,521 | ​ | ​ | (202,240) | ​ | ​ | 233,080 | ​ | ​ | 56,817 | ​ | ​ | 1,950 | ​
2021 | ​ | ​ | (48,498) | ​ | ​ | 40,537 | ​ | ​ | (217,408) | ​ | ​ | 254,670 | ​ | ​ | 85,185 | ​ | ​ | 92,106 | ​
2020 | ​ | ​ | (50,007) | ​ | ​ | 36,843 | ​ | ​ | (162,260) | ​ | ​ | 113,186 | ​ | ​ | (230,301) | ​ | ​ | (12,720) | ​
​ The amounts of the adjustments described above that were added to (or deducted from) the average Summary Compensation Table total for NEOs other than the PEO to arrive at average compensation actually paid to non-PEO NEOs for each year are shown in the table below. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Year End | ​ | ​ | ​ | ​ | ​ | Change in | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Grant Date | ​ | ​ | Fair Value of | ​ | ​ | Change in Fair Value | ​ | ​ | Fair Value of Stock Awards | ​
​ | ​ | ​ | Change in | ​ | ​ | Pension | ​ | ​ | Fair Value of | ​ | ​ | Stock Awards | ​ | ​ | of Outstanding and | ​ | ​ | Granted in Prior Years that | ​
​ | ​ | ​ | Pension Value | ​ | ​ | Service Cost | ​ | ​ | Stock Awards | ​ | ​ | Granted | ​ | ​ | Unvested Stock Awards | ​ | ​ | Vested in the Year | ​
Year | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​ | ​ | ($) | ​
2022 | ​ | ​ | (13,487) | ​ | ​ | 6,335 | ​ | ​ | (62,884) | ​ | ​ | 72,473 | ​ | ​ | 19,983 | ​ | ​ | 1,068 | ​
2021 | ​ | ​ | (84,182) | ​ | ​ | 6,774 | ​ | ​ | (71,559) | ​ | ​ | 83,824 | ​ | ​ | 39,811 | ​ | ​ | 45,227 | ​
2020 | ​ | ​ | (94,029) | ​ | ​ | 5,607 | ​ | ​ | (63,042) | ​ | ​ | 43,975 | ​ | ​ | (111,620) | ​ | ​ | (8,708) | ​
​ |  |
Compensation Actually Paid vs. Total Shareholder Return [Text Block] | ​ The relationship between (1) compensation actually paid to the PEO and the average of compensation actually paid to NEOs other than the PEO and (2) cumulative total shareholder return on the common stock of the Corporation and cumulative total shareholder return on the stock of the 2022 Incentive Compensation Peer Group for the last three completed fiscal years is shown in Figure 1. ​ Figure 1: Compensation Actually Paid and Total Shareholder Return (TSR) |  |
Compensation Actually Paid vs. Net Income [Text Block] | ​ The relationship between (1) compensation actually paid to the PEO and the average of compensation actually paid to NEOs other than the PEO and (2) net income of the Corporation for the last three completed fiscal years is shown in Figure 2. ​ Figure 2: Compensation Actually Paid and Net Income ​ |  |
Compensation Actually Paid vs. Company Selected Measure [Text Block] | ​ The relationship between (1) compensation actually paid to the PEO and the average of compensation actually paid to NEOs other than the PEO and (2) adjusted ROE for the last three completed fiscal years is shown in Figure 3. ​ Figure 3: Compensation Actually Paid and Adjusted ROE |  |
Tabular List [Table Text Block] | ​ The following table lists the financial performance measures determined by the Committee to be the most important financial performance measures used by the Corporation to link compensation actually paid to its NEOs for the year ended December 31, 2022 to company performance. ​
​
Financial Performance Measures Linked to Compensation of Executives Other than Mr. McKernon
Net income
Adjusted ROE
Adjusted ROA
ROTCE (as defined by the Committee)
Loan delinquencies
Net charge-off ratio
Loan growth
​
​
Financial Performance Measures Linked to Compensation of Mr. McKernon
Net income before taxes of C&F Mortgage
ROTCE (as defined by the Committee)
Net margin on mortgage loan originations at C&F Mortgage
​ |  |
Total Shareholder Return Amount | $ 117.2 | 99.7 | 70.1
Peer Group Total Shareholder Return Amount | 100.7 | 106.4 | 74.3
Net Income (Loss) | $ 29,369,000 | $ 29,123,000 | $ 22,424,000
Company Selected Measure Amount | 13.64 | 15.22 | 12.54
PEO Name | Mr. Cherry |  |
Measure [Axis]: 2 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Non-GAAP Measure Description [Text Block] |
| 4 | Adjusted ROE and adjusted ROA are financial measures that are not consistent with U.S. GAAP that are considered by the Corporation as part of its executive compensation program. Refer to Appendix A for information regarding these non-GAAP financial measures, including a reconciliation to the most directly comparable U.S. GAAP financial measures. The Committee has identified a variety of performance goals and metrics used for the purpose of awarding compensation to executive officers that are consistent with the Corporation’s overall compensation philosophy and the long-term interests of its shareholders. Among these, the Committee has identified adjusted ROE as the most important financial performance measure (that is not otherwise required to be disclosed in the table above) used by the Corporation to link compensation actually paid to its NEOs for the year ended December 31, 2022 to company performance. Adjusted ROA, which is also used by the Corporation to evaluate performance as part of its executive compensation program, is shown in the table above as a supplemental financial performance measure.
Measure [Axis]: 3 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Compensation Actually Paid vs. Other Measure [Text Block] | ​ The relationship between (1) compensation actually paid to the PEO and the average of compensation actually paid to NEOs other than the PEO and (2) adjusted ROA, which is presented as a supplemental financial performance measure, for the last three completed fiscal years is shown in Figure 4. ​ Figure 4: Compensation Actually Paid and Adjusted ROA |  |
Other Performance Measure Amount | 1.16 | 1.38 | 1.14
Non-GAAP Measure Description [Text Block] |
| 4 | Adjusted ROE and adjusted ROA are financial measures that are not consistent with U.S. GAAP that are considered by the Corporation as part of its executive compensation program. Refer to Appendix A for information regarding these non-GAAP financial measures, including a reconciliation to the most directly comparable U.S. GAAP financial measures. The Committee has identified a variety of performance goals and metrics used for the purpose of awarding compensation to executive officers that are consistent with the Corporation’s overall compensation philosophy and the long-term interests of its shareholders. Among these, the Committee has identified adjusted ROE as the most important financial performance measure (that is not otherwise required to be disclosed in the table above) used by the Corporation to link compensation actually paid to its NEOs for the year ended December 31, 2022 to company performance. Adjusted ROA, which is also used by the Corporation to evaluate performance as part of its executive compensation program, is shown in the table above as a supplemental financial performance measure.
Executives Other than Mr. McKernon | Measure [Axis]: 1 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Net income |  |
Executives Other than Mr. McKernon | Measure [Axis]: 2 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Adjusted ROE |  |
Executives Other than Mr. McKernon | Measure [Axis]: 3 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Adjusted ROA |  |
Executives Other than Mr. McKernon | Measure [Axis]: 4 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | ROTCE (as defined by the Committee) |  |
Executives Other than Mr. McKernon | Measure [Axis]: 5 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Loan delinquencies |  |
Executives Other than Mr. McKernon | Measure [Axis]: 6 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Net charge-off ratio |  |
Executives Other than Mr. McKernon | Measure [Axis]: 7 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Loan growth |  |
Mr. McKernon | Measure [Axis]: 4 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | ROTCE (as defined by the Committee) |  |
Mr. McKernon | Measure [Axis]: 8 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Net income before taxes of C&F Mortgage |  |
Mr. McKernon | Measure [Axis]: 9 |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Measure Name | Net margin on mortgage loan originations at C&F Mortgage |  |
PEO [Member] | Change in Pension Value |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | $ (52,773) | $ (48,498) | $ (50,007)
PEO [Member] | Pension Service Cost |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 39,521 | 40,537 | 36,843
PEO [Member] | Grant Date Fair Value of Stock Awards |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | (202,240) | (217,408) | (162,260)
PEO [Member] | Year End Fair Value of Stock Awards Granted |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 233,080 | 254,670 | 113,186
PEO [Member] | Change in Fair Value of Outstanding and Unvested Stock Awards |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 56,817 | 85,185 | (230,301)
PEO [Member] | Change in Fair Value of Stock Awards Granted in Prior Years that Vested in the Year |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 1,950 | 92,106 | (12,720)
Non-PEO NEO [Member] | Change in Pension Value |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | (13,487) | (84,182) | (94,029)
Non-PEO NEO [Member] | Pension Service Cost |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 6,335 | 6,774 | 5,607
Non-PEO NEO [Member] | Grant Date Fair Value of Stock Awards |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | (62,884) | (71,559) | (63,042)
Non-PEO NEO [Member] | Year End Fair Value of Stock Awards Granted |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 72,473 | 83,824 | 43,975
Non-PEO NEO [Member] | Change in Fair Value of Outstanding and Unvested Stock Awards |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | 19,983 | 39,811 | (111,620)
Non-PEO NEO [Member] | Change in Fair Value of Stock Awards Granted in Prior Years that Vested in the Year |  |  |
Pay vs Performance Disclosure [Table] |  |  |
Adjustment to Compensation Amount | $ 1,068 | $ 45,227 | $ (8,708)

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToNonPeoNeoCompFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_AdjToPeoCompFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_CoSelectedMeasureAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_CoSelectedMeasureName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph iii + Details
Name: | ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph ii + Details
Name: | ecd_CompActuallyPaidVsNetIncomeTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph iv + Details
Name: | ecd_CompActuallyPaidVsOtherMeasureTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 5 -Subparagraph i + Details
Name: | ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_MeasureName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_NamedExecutiveOfficersFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_NonGaapMeasureDescriptionTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iii + Details
Name: | ecd_NonPeoNeoAvgCompActuallyPaidAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph ii + Details
Name: | ecd_NonPeoNeoAvgTotalCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph vi + Details
Name: | ecd_OtherPerfMeasureAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:decimalItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iv + Details
Name: | ecd_PeerGroupIssuersFnTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iv + Details
Name: | ecd_PeerGroupTotalShareholderRtnAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iii + Details
Name: | ecd_PeoActuallyPaidCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 3 + Details
Name: | ecd_PeoName
Namespace Prefix: | ecd_
Data Type: | xbrli:normalizedStringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph ii + Details
Name: | ecd_PeoTotalCompAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 1 + Details
Name: | ecd_PvpTable
Namespace Prefix: | ecd_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 1 + Details
Name: | ecd_PvpTableTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 6 + Details
Name: | ecd_TabularListTableTextBlock
Namespace Prefix: | ecd_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-K -Number 229 -Section 402 -Subsection v -Paragraph 2 -Subparagraph iv + Details
Name: | ecd_TotalShareholderRtnAmt
Namespace Prefix: | ecd_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(22)) -URI https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(18)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 40 -Section 65 -Paragraph 1 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(20)) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 9 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 17: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 60B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580 Reference 25: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 11 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 250 -SubTopic 10 -Section 50 -Paragraph 11 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -URI https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599 Reference 35: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599 + Details
Name: | us-gaap_NetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ecd_MeasureAxis=2
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=3
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_IndividualAxis=cffi_Messrs.LongDillonAndCroneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=1
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=4
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=5
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=6
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=7
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_IndividualAxis=cffi_MckernonMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=8
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_MeasureAxis=9
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_ExecutiveCategoryAxis=ecd_PeoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_PensionValueInCompensationTableForApplicableYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_PensionAdjustmentsServiceCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_EquityAwardsValueInCompensationTableForApplicableYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_EquityAwardsAdjustmentsYearEndFairValueOfAwardsGrantedInCurrentYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_EquityAwardsAdjustmentsChangeInFairValueAsOfYearEndOfOutstandingAndUnvestedAwardsGrantedInPriorYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_AdjToCompAxis=cffi_EquityAwardsAdjustmentsChangeInFairValueAsOfVestingDateOfPriorYearAwardsVestedDuringCurrentYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ecd_ExecutiveCategoryAxis=ecd_NonPeoNeoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |