cm:Concept: us-gaap:SecuritiesPurchasedUnderAgreementsToResellGrossIncludingNotSubjectToMasterNettingArrangement
       
          
          | Securities Purchased under Agreements to Resell, Gross Including Not Subject to Master Netting Arrangement | 
       
       
          
          | us-gaap:SecuritiesPurchasedUnderAgreementsToResellGrossIncludingNotSubjectToMasterNettingArrangement | 
       
       
          
          | Amount, before effects of master netting arrangements, of funds outstanding loaned in the form of a security resale agreement between the entity and another party for the purchase and resale of identical or substantially the same securities at a date certain for a specified price. Includes assets not subject to a master netting arrangement and elected not to be offset. | 
       
       
          
          | cm:Concept | 
       
       
          
          | Monetary (xbrli:monetaryItemType) | 
       
       
          
          | As Of (instant) | 
       
       
          
          | Debit | 
       
       
          
          | false | 
       
       
          
          | us-gaap:SecuritiesPurchasedUnderAgreementsToResellGrossIncludingNotSubjectToMasterNettingArrangement |