cm:Concept: us-gaap:SecuritiesPurchasedUnderAgreementsToResellGross
       
          
          | Securities Purchased under Agreements to Resell, Gross | 
       
       
          
          | us-gaap:SecuritiesPurchasedUnderAgreementsToResellGross | 
       
       
          
          | 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 elected not to be offset. Excludes assets not subject to a master netting arrangement. | 
       
       
          
          | cm:Concept | 
       
       
          
          | Monetary (xbrli:monetaryItemType) | 
       
       
          
          | As Of (instant) | 
       
       
          
          | Debit | 
       
       
          
          | false | 
       
       
          
          | us-gaap:SecuritiesPurchasedUnderAgreementsToResellGross |