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