cm:Concept: us-gaap:DebtSecuritiesHeldToMaturityOriginatedTwoYearsBeforeLatestFiscalYear
| Debt Securities, Held-to-maturity, Originated Two Years before Latest Fiscal Year |
| us-gaap:DebtSecuritiesHeldToMaturityOriginatedTwoYearsBeforeLatestFiscalYear |
| Amount of investment in debt security measured at amortized cost (held-to-maturity), originated two years prior to latest fiscal year. |
| cm:Concept |
| Monetary (xbrli:monetaryItemType) |
| As Of (instant) |
| Debit |
| false |
| us-gaap:DebtSecuritiesHeldToMaturityOriginatedTwoYearsBeforeLatestFiscalYear |