XML 19 R7.htm IDEA: XBRL DOCUMENT
v3.25.1

CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (UNAUDITED) (Parenthetical) - $ / shares | 3 Months Ended
--- | ---
Mar. 31, 2025 | Mar. 31, 2024
Statement of Stockholders' Equity [Abstract] |  |
Distribution of shares of treasury stock for employee restricted stock awards (in shares) | 26,247 | 4,573
Cash dividends declared (in dollars per share) | $ 0.32 | $ 0.31
Distribution of shares of treasury stock for director restricted stock awards (in shares) | 7,625 | 7,515
Repurchased common stock (in shares) | 1,806 | 1,707
Sale of shares of treasury stock (in shares) | 2,958 | 3,056

X
- Definition Number of treasury shares issued during the period for directors' compensation. + References No definition available. + Details
Name: | chmg_DistributionOfSharesOfTreasuryStockForDirectorsCompensationShares
Namespace Prefix: | chmg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Distribution Of Treasury Stock For Employee Restricted Stock Awards, Shares + References No definition available. + Details
Name: | chmg_DistributionOfTreasuryStockForEmployeeRestrictedStockAwardsShares
Namespace Prefix: | chmg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_CommonStockDividendsPerShareDeclared
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Number of treasury shares or units reissued. Excludes reissuance of shares or units in treasury for award under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration