cm:Concept: us-gaap:DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecovery
| Debt Securities, Available-for-sale, Allowance for Credit Loss, Recovery |
| us-gaap:DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecovery |
| Amount of increase in allowance for credit loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), from recovery. |
| cm:Concept |
| Monetary (xbrli:monetaryItemType) |
| For Period (duration) |
| Credit |
| false |
| us-gaap:DebtSecuritiesAvailableForSaleAllowanceForCreditLossRecovery |