{
 "instance": {
  "cmcm-20221231.htm": {
   "axisCustom": 1,
   "axisStandard": 36,
   "baseTaxonomies": {
    "http://fasb.org/srt/2022": 3,
    "http://fasb.org/us-gaap/2022": 1861,
    "http://xbrl.sec.gov/dei/2022": 49
   },
   "contextCount": 448,
   "dts": {
    "calculationLink": {
     "local": [
      "cmcm-20221231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "cmcm-20221231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "cmcm-20221231.htm"
     ]
    },
    "labelLink": {
     "local": [
      "cmcm-20221231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "cmcm-20221231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "cmcm-20221231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
     ]
    }
   },
   "elementCount": 948,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2022": 9,
    "http://xbrl.sec.gov/dei/2022": 6,
    "total": 15
   },
   "keyCustom": 138,
   "keyStandard": 398,
   "memberCustom": 84,
   "memberStandard": 55,
   "nsprefix": "cmcm",
   "nsuri": "http://www.cmcm.com/20221231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Cover Page",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CoverPage",
     "shortName": "Cover Page",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100100 - Disclosure - Deconsolidations",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidations",
     "shortName": "Deconsolidations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfRetainedEarningsTableTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RetainedEarningsAppropriated",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101010 - Disclosure - Shareholders' Equity - Schedule of Retained Earnings (Detail)",
     "menuCat": "Details",
     "order": "100",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail",
     "shortName": "Shareholders' Equity - Schedule of Retained Earnings (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfRetainedEarningsTableTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RetainedEarningsAppropriated",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_aa3bffc1-6185-471c-9a00-6b9089caa5ee",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccumulatedOtherComprehensiveIncomeLossNetOfTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101020 - Disclosure - Shareholders' Equity - Components of Accumulated Other Comprehensive Income (loss) (Detail)",
     "menuCat": "Details",
     "order": "101",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail",
     "shortName": "Shareholders' Equity - Components of Accumulated Other Comprehensive Income (loss) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101030 - Disclosure - Earnings (Loss) Per Share (Detail)",
     "menuCat": "Details",
     "order": "102",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
     "shortName": "Earnings (Loss) Per Share (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_a0b511d1-6547-427f-982e-1d502d88d518",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DilutiveSecurities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanCostRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101040 - Disclosure - Employee Benefit - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "103",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefitAdditionalInformationDetail",
     "shortName": "Employee Benefit - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanCostRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
       "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
       "span",
       "div",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_ebfb5f17-b959-4f58-b066-f8b8bed948a8",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101050 - Disclosure - Fair Value Measurement - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "104",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
     "shortName": "Fair Value Measurement - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
       "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
       "span",
       "div",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_ebfb5f17-b959-4f58-b066-f8b8bed948a8",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleGainLoss",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101060 - Disclosure - Fair Value Measurement - Assets and Liabilities Measured or Disclosed at Fair Value (Detail)",
     "menuCat": "Details",
     "order": "105",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
     "shortName": "Fair Value Measurement - Assets and Liabilities Measured or Disclosed at Fair Value (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_52085964-9f7a-4737-bf87-5631e12d4a26",
      "decimals": "-3",
      "lang": null,
      "name": "cmcm:DebtSecuritiesWealthManagementProductsGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:FairValueAssetsLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_aa3bffc1-6185-471c-9a00-6b9089caa5ee",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101070 - Disclosure - Fair Value Measurement - Reconciliation of the Assets and Liabilities (Detail)",
     "menuCat": "Details",
     "order": "106",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail",
     "shortName": "Fair Value Measurement - Reconciliation of the Assets and Liabilities (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:FairValueAssetsLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_76bd680f-9bb7-4cec-973f-797ee11ae42d",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
       "div",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquitySecuritiesFvNiGainLoss",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101080 - Disclosure - Fair Value Measurement - Schedule of Significant Unobservable Inputs Used in the Fair Value Measurement (Detail)",
     "menuCat": "Details",
     "order": "107",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
     "shortName": "Fair Value Measurement - Schedule of Significant Unobservable Inputs Used in the Fair Value Measurement (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_0c8a0bd0-1285-480a-b78c-bab0910e6530",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EquitySecuritiesFvNiGainLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101100 - Disclosure - Condensed Financial Information of the Company - Consolidated Balance Sheets (Detail)",
     "menuCat": "Details",
     "order": "108",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
     "shortName": "Condensed Financial Information of the Company - Consolidated Balance Sheets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_54c253d6-b762-4bf8-a67b-dbcfeabd6c17",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_711dae39-affe-4928-86bb-e68ab338f38c",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101110 - Disclosure - Condensed Financial Information of the Company - Consolidated Balance Sheets (Parenthetical) (Detail)",
     "menuCat": "Details",
     "order": "109",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
     "shortName": "Condensed Financial Information of the Company - Consolidated Balance Sheets (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:CommonStockParOrStatedValuePerShare",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_76272868-804d-4162-b334-8e2b822b3522",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:InvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100110 - Disclosure - Investments",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/Investments",
     "shortName": "Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:InvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101120 - Disclosure - Condensed Financial Information of the Company - Consolidated Statement of Comprehensive income (loss) (Detail)",
     "menuCat": "Details",
     "order": "110",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
     "shortName": "Condensed Financial Information of the Company - Consolidated Statement of Comprehensive income (loss) (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedIncomeStatementTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_61812b47-40e8-4c81-b189-6a599a99f4c4",
      "decimals": "-3",
      "lang": null,
      "name": "cmcm:ResearchAndDevelopment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetCashProvidedByUsedInOperatingActivities",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101130 - Disclosure - Condensed Financial Information of the Company - Consolidated Statement of Cash Flows (Detail)",
     "menuCat": "Details",
     "order": "111",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
     "shortName": "Condensed Financial Information of the Company - Consolidated Statement of Cash Flows (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedCashFlowStatementTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_d90610be-82d1-4540-930c-3203d6110bce",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NetCashProvidedByUsedInOperatingActivities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Accounts Receivable, Net",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNet",
     "shortName": "Accounts Receivable, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Prepayments and Other Current Assets, Net",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNet",
     "shortName": "Prepayments and Other Current Assets, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Property and Equipment, Net",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNet",
     "shortName": "Property and Equipment, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Intangible Assets, Net",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNet",
     "shortName": "Intangible Assets, Net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Lease",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/Lease",
     "shortName": "Lease",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Accrued Expenses And Other Liabilities",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilities",
     "shortName": "Accrued Expenses And Other Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Segment Information",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformation",
     "shortName": "Segment Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:GeographicalInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Geographical Information",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformation",
     "shortName": "Geographical Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:GeographicalInformationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - CONSOLIDATED BALANCE SHEETS",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
     "shortName": "CONSOLIDATED BALANCE SHEETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DueFromRelatedPartiesNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Income Taxes",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Related Party Transactions",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactions",
     "shortName": "Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Share-Based Compensation",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation",
     "shortName": "Share-Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Commitments and Contingencies",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Shareholders' Equity",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquity",
     "shortName": "Shareholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Earnings (Loss) Per Share",
     "menuCat": "Notes",
     "order": "25",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShare",
     "shortName": "Earnings (Loss) Per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Employee Benefit",
     "menuCat": "Notes",
     "order": "26",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefit",
     "shortName": "Employee Benefit",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Fair Value Measurement",
     "menuCat": "Notes",
     "order": "27",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurement",
     "shortName": "Fair Value Measurement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Subsequent Events",
     "menuCat": "Notes",
     "order": "28",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEvents",
     "shortName": "Subsequent Events",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SubsequentEventsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Condensed Financial Information of the Company",
     "menuCat": "Notes",
     "order": "29",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompany",
     "shortName": "Condensed Financial Information of the Company",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100030 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
     "shortName": "CONSOLIDATED BALANCE SHEETS (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_6280c0ad-b524-4cf4-8e5f-9a7b4bca2df0",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Summary of Significant Accounting Policies (Policies)",
     "menuCat": "Policies",
     "order": "30",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Organization and Principal Activities (Tables)",
     "menuCat": "Tables",
     "order": "31",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesTables",
     "shortName": "Organization and Principal Activities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:ScheduleOfPropertyPlantAndEquipmentUsefulLifeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Summary of Significant Accounting Policies (Tables)",
     "menuCat": "Tables",
     "order": "32",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables",
     "shortName": "Summary of Significant Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:ScheduleOfPropertyPlantAndEquipmentUsefulLifeTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Investments (Tables)",
     "menuCat": "Tables",
     "order": "33",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsTables",
     "shortName": "Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Accounts Receivable, Net (Tables)",
     "menuCat": "Tables",
     "order": "34",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetTables",
     "shortName": "Accounts Receivable, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Prepayments and Other Current Assets, Net (Tables)",
     "menuCat": "Tables",
     "order": "35",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables",
     "shortName": "Prepayments and Other Current Assets, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Property and Equipment, Net (Tables)",
     "menuCat": "Tables",
     "order": "36",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetTables",
     "shortName": "Property and Equipment, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:ScheduleOfIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Intangible Assets, Net (Tables)",
     "menuCat": "Tables",
     "order": "37",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetTables",
     "shortName": "Intangible Assets, Net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:ScheduleOfIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Lease (Tables)",
     "menuCat": "Tables",
     "order": "38",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/LeaseTables",
     "shortName": "Lease (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "cmcm:AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Accrued Expenses And Other Liabilities (Tables)",
     "menuCat": "Tables",
     "order": "39",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesTables",
     "shortName": "Accrued Expenses And Other Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "cmcm:AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:SellingAndMarketingExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Segment Information (Tables)",
     "menuCat": "Tables",
     "order": "40",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationTables",
     "shortName": "Segment Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "cmcm:GeographicalInformationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Geographical Information (Tables)",
     "menuCat": "Tables",
     "order": "41",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationTables",
     "shortName": "Geographical Information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "cmcm:GeographicalInformationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Income Taxes (Tables)",
     "menuCat": "Tables",
     "order": "42",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Related Party Transactions (Tables)",
     "menuCat": "Tables",
     "order": "43",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables",
     "shortName": "Related Party Transactions (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardOfSubsidiariesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Share-Based Compensation (Tables)",
     "menuCat": "Tables",
     "order": "44",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables",
     "shortName": "Share-Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardOfSubsidiariesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RecordedUnconditionalPurchaseObligationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Commitments and Contingencies (Tables)",
     "menuCat": "Tables",
     "order": "45",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingenciesTables",
     "shortName": "Commitments and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RecordedUnconditionalPurchaseObligationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:ScheduleOfRetainedEarningsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Shareholders' Equity (Tables)",
     "menuCat": "Tables",
     "order": "46",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityTables",
     "shortName": "Shareholders' Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "cmcm:ScheduleOfRetainedEarningsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Earnings (Loss) Per Share (Tables)",
     "menuCat": "Tables",
     "order": "47",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareTables",
     "shortName": "Earnings (Loss) Per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Fair Value Measurement (Tables)",
     "menuCat": "Tables",
     "order": "48",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
     "shortName": "Fair Value Measurement (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Condensed Financial Information of the Company (Tables)",
     "menuCat": "Tables",
     "order": "49",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyTables",
     "shortName": "Condensed Financial Information of the Company (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedBalanceSheetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "cmcm:SharesConversionRatio",
       "cmcm:SharesConversionRatio",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cmcm:SharesConversionRatio",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical)",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "cmcm:SharesConversionRatio",
       "cmcm:SharesConversionRatio",
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cmcm:SharesConversionRatio",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cmcm:LoansGrantedToNomineeShareholdersAndViesByPrimaryBeneficiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Organization and Principal Activities - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "50",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail",
     "shortName": "Organization and Principal Activities - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cmcm:LoansGrantedToNomineeShareholdersAndViesByPrimaryBeneficiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_6829c25d-035d-4323-961f-2cc66d12e50e",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:VariableInterestEntityOwnershipPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Organization and Principal Activities - Principal subsidiaries of Vies and Equity investees (Detail)",
     "menuCat": "Details",
     "order": "51",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail",
     "shortName": "Organization and Principal Activities - Principal subsidiaries of Vies and Equity investees (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_6829c25d-035d-4323-961f-2cc66d12e50e",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:VariableInterestEntityOwnershipPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Organization and Principal Activities - VIE Arrangements (Detail)",
     "menuCat": "Details",
     "order": "52",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
     "shortName": "Organization and Principal Activities - VIE Arrangements (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfVariableInterestEntitiesTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_34a40782-f7fc-46c2-b647-0c781d1c1e4f",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LiabilitiesCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Organization and Principal Activities - VIE Arrangements (Parenthetical) (Detail)",
     "menuCat": "Details",
     "order": "53",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail",
     "shortName": "Organization and Principal Activities - VIE Arrangements (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "ix:continuation",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_34a40782-f7fc-46c2-b647-0c781d1c1e4f",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DueFromAffiliateCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Organization and Principal Activities - Financial Performance and Cash flows of the Vies and subsidiaries of Vies (Detail)",
     "menuCat": "Details",
     "order": "54",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
     "shortName": "Organization and Principal Activities - Financial Performance and Cash flows of the Vies and subsidiaries of Vies (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfVariableInterestEntitiesFinancialPerformanceAndCashFlowsTextBlock",
       "div",
       "us-gaap:NatureOfOperations",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_4b746426-36a2-4441-ac87-13f1333b3bff",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "cmcm:SellingAndMarketingExpensesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdvertisingExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Summary of Significant of Accounting Policies - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "55",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail",
     "shortName": "Summary of Significant of Accounting Policies - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "cmcm:SellingAndMarketingExpensesPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdvertisingExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfPropertyPlantAndEquipmentUsefulLifeTableTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_8c61a408-7d75-4c21-9f1f-51c152c2a8c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Summary of Significant of Accounting Policies - Estimated Useful Lives of Asset (Detail)",
     "menuCat": "Details",
     "order": "56",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
     "shortName": "Summary of Significant of Accounting Policies - Estimated Useful Lives of Asset (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfPropertyPlantAndEquipmentUsefulLifeTableTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_8c61a408-7d75-4c21-9f1f-51c152c2a8c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_1b26cc1a-8070-4024-bc9e-3da3a72011c7",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Summary of Significant of Accounting Policies - Estimated Useful Lives of Intangible Asset (Detail)",
     "menuCat": "Details",
     "order": "57",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail",
     "shortName": "Summary of Significant of Accounting Policies - Estimated Useful Lives of Intangible Asset (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_1b26cc1a-8070-4024-bc9e-3da3a72011c7",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Summary of Significant Accounting Policies - Schedule of Revenue by Revenue Source (Detail)",
     "menuCat": "Details",
     "order": "58",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail",
     "shortName": "Summary of Significant Accounting Policies - Schedule of Revenue by Revenue Source (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DisaggregationOfRevenueTableTextBlock",
       "div",
       "us-gaap:RevenueRecognitionPolicyTextBlock",
       "div",
       "us-gaap:SignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_c0d50232-33d3-4277-acb7-216336f1dce8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_7ecc11e4-6c1f-41a4-9abf-7603a9f09079",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeconsolidationGainOrLossAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Deconsolidations - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "59",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
     "shortName": "Deconsolidations - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_7ecc11e4-6c1f-41a4-9abf-7603a9f09079",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeconsolidationGainOrLossAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "lang": null,
      "name": "cmcm:NoncashOperatingLeaseExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShortTermInvestments",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Investments - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "60",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
     "shortName": "Investments - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
       "div",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Investments - Schedule of Unrealized and Realized Gains and Losses of Equity Securities (Detail)",
     "menuCat": "Details",
     "order": "61",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail",
     "shortName": "Investments - Schedule of Unrealized and Realized Gains and Losses of Equity Securities (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
       "div",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Investments - Unaudited Condensed Financial Information Equity Investments (Detail)",
     "menuCat": "Details",
     "order": "62",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
     "shortName": "Investments - Unaudited Condensed Financial Information Equity Investments (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "cmcm:InvestmentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_b782f4b3-d47e-414a-bbbf-cae3483631a0",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AssetsCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Accounts Receivable, Net (Detail)",
     "menuCat": "Details",
     "order": "63",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail",
     "shortName": "Accounts Receivable, Net (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AccountsReceivableAllowanceForCreditLossTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_aa3bffc1-6185-471c-9a00-6b9089caa5ee",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Accounts Receivable, Net - Schedule of movement in the allowance for credit losses (Detail)",
     "menuCat": "Details",
     "order": "64",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
     "shortName": "Accounts Receivable, Net - Schedule of movement in the allowance for credit losses (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Prepayments and Other Current Assets, Net (Detail)",
     "menuCat": "Details",
     "order": "65",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail",
     "shortName": "Prepayments and Other Current Assets, Net (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryFinishedGoodsNetOfReserves",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Prepayments and Other Current Assets, Net (Parenthetical) (Detail)",
     "menuCat": "Details",
     "order": "66",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
     "shortName": "Prepayments and Other Current Assets, Net (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "div",
       "div",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryFinishedGoodsNetOfReserves",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_a630880e-6d05-4ae6-b050-07328b4e24b9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProvisionForDoubtfulAccounts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Prepayments and Other Current Assets, Net - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "67",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
     "shortName": "Prepayments and Other Current Assets, Net - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_a630880e-6d05-4ae6-b050-07328b4e24b9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProvisionForDoubtfulAccounts",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:AccountsReceivableAllowanceForCreditLossTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_aa3bffc1-6185-471c-9a00-6b9089caa5ee",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - Disclosure - Prepayments and Other Current Assets, Net - Schedule of movement in the allowance for credit losses (Detail)",
     "menuCat": "Details",
     "order": "68",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
     "shortName": "Prepayments and Other Current Assets, Net - Schedule of movement in the allowance for credit losses (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:PrepaymentsAndOtherCurrentAssetsAllowanceForCreditLossTableTextBlock",
       "div",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_169833b9-7bf8-425e-bed4-7d0560995623",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Property and Equipment, Net (Detail)",
     "menuCat": "Details",
     "order": "69",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
     "shortName": "Property and Equipment, Net (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_76bd680f-9bb7-4cec-973f-797ee11ae42d",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS EQUITY",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS EQUITY",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_76bd680f-9bb7-4cec-973f-797ee11ae42d",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Depreciation",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - Disclosure - Property and Equipment, Net - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "70",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetAdditionalInformationDetail",
     "shortName": "Property and Equipment, Net - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:TangibleAssetImpairmentCharges",
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:TangibleAssetImpairmentCharges",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfIntangibleAssetsTableTextBlock",
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Intangible Assets and Related Accumulated Amortization (Detail)",
     "menuCat": "Details",
     "order": "71",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
     "shortName": "Intangible Assets and Related Accumulated Amortization (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfIntangibleAssetsTableTextBlock",
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairmentOfIntangibleAssetsExcludingGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - Disclosure - Intangible Assets Net - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "72",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetAdditionalInformationDetail",
     "shortName": "Intangible Assets Net - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairmentOfIntangibleAssetsExcludingGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - Disclosure - Intangible Assets Estimated Amortization Expense (Detail)",
     "menuCat": "Details",
     "order": "73",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail",
     "shortName": "Intangible Assets Estimated Amortization Expense (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:IntangibleAssetsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - Disclosure - Lease - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "74",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail",
     "shortName": "Lease - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_aa3bffc1-6185-471c-9a00-6b9089caa5ee",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Lease - Summary of Future lease Payments under Operating Leases (Detail)",
     "menuCat": "Details",
     "order": "75",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail",
     "shortName": "Lease - Summary of Future lease Payments under Operating Leases (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesCurrentTableTextBlock",
       "div",
       "cmcm:AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cmcm:PayableToOnlineAdvertisingPlatformsAsAgency",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - Disclosure - Accrued Expenses And Other Liabilities - Schedule of Accrued Expenses and Other Liabilities (Detail)",
     "menuCat": "Details",
     "order": "76",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail",
     "shortName": "Accrued Expenses And Other Liabilities - Schedule of Accrued Expenses and Other Liabilities (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesCurrentTableTextBlock",
       "div",
       "cmcm:AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cmcm:PayableToOnlineAdvertisingPlatformsAsAgency",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:OtherLiabilitiesNoncurrentTableTextBlock",
       "div",
       "cmcm:AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LiabilityForUncertainTaxPositionsNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Accrued Expenses And Other Liabilities - Summary of Other Non-current Liabilities (Detail)",
     "menuCat": "Details",
     "order": "77",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail",
     "shortName": "Accrued Expenses And Other Liabilities - Summary of Other Non-current Liabilities (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:OtherLiabilitiesNoncurrentTableTextBlock",
       "div",
       "cmcm:AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LiabilityForUncertainTaxPositionsNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Segment Information - Summary of Revenue from Each Segment, Income (Loss) from Operations (Detail)",
     "menuCat": "Details",
     "order": "78",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
     "shortName": "Segment Information - Summary of Revenue from Each Segment, Income (Loss) from Operations (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_25868893-63da-4162-baf4-8efdee36906b",
      "decimals": "-3",
      "lang": null,
      "name": "cmcm:UnallocatedExpenses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "div",
       "us-gaap:SegmentReportingDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Geographical Information - Schedule of Revenues and Property and Equipment (Detail)",
     "menuCat": "Details",
     "order": "79",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
     "shortName": "Geographical Information - Schedule of Revenues and Property and Equipment (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock",
       "div",
       "cmcm:GeographicalInformationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_58fcf81c-16ce-465e-a966-8efd0a6e09b3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100080 - Disclosure - Organization and Principal Activities",
     "menuCat": "Notes",
     "order": "8",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivities",
     "shortName": "Organization and Principal Activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NatureOfOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:LongLivedAssetsByGeographicAreasTableTextBlock",
       "div",
       "cmcm:GeographicalInformationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_13882d26-9df9-4df6-bf7e-66c983d8f939",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskBenchmarkDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Geographical Information - Schedule of Revenues and Property and Equipment (Parenthetical) (Detail)",
     "menuCat": "Details",
     "order": "80",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
     "shortName": "Geographical Information - Schedule of Revenues and Property and Equipment (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:LongLivedAssetsByGeographicAreasTableTextBlock",
       "div",
       "cmcm:GeographicalInformationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_13882d26-9df9-4df6-bf7e-66c983d8f939",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ConcentrationRiskBenchmarkDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Income Taxes - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "81",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
     "shortName": "Income Taxes - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100820 - Disclosure - Income Taxes - Current and Deferred Portions of Income Tax Expense (Detail)",
     "menuCat": "Details",
     "order": "82",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail",
     "shortName": "Income Taxes - Current and Deferred Portions of Income Tax Expense (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Income Taxes - Reconciliation of the Differences (Detail)",
     "menuCat": "Details",
     "order": "83",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail",
     "shortName": "Income Taxes - Reconciliation of the Differences (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_58fcf81c-16ce-465e-a966-8efd0a6e09b3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Income Taxes - Reconciliation of the Differences (Parenthetical) (Detail)",
     "menuCat": "Details",
     "order": "84",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail",
     "shortName": "Income Taxes - Reconciliation of the Differences (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cmcm:DeferredTaxAssetsOperatingLossCarryforwardsNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Income Taxes - Tax Effects of Temporary Differences (Detail)",
     "menuCat": "Details",
     "order": "85",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail",
     "shortName": "Income Taxes - Tax Effects of Temporary Differences (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "cmcm:DeferredTaxAssetsOperatingLossCarryforwardsNoncurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_aa3bffc1-6185-471c-9a00-6b9089caa5ee",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefits",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Income Taxes - Reconciliation of Unrecognized Tax Benefit (Detail)",
     "menuCat": "Details",
     "order": "86",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail",
     "shortName": "Income Taxes - Reconciliation of Unrecognized Tax Benefit (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DueFromRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Related Party Transactions (Detail)",
     "menuCat": "Details",
     "order": "87",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
     "shortName": "Related Party Transactions (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DueFromRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
       "div",
       "cmcm:PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NotesReceivableNet",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Related Party Transactions (Parenthetical) (Detail)",
     "menuCat": "Details",
     "order": "88",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail",
     "shortName": "Related Party Transactions (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "div",
       "div",
       "us-gaap:ScheduleOfRelatedPartyTransactionsTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_350e09d7-938a-42bb-84d6-4e9896a8af52",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NotesReceivableNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_aa3bffc1-6185-471c-9a00-6b9089caa5ee",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable",
      "reportCount": 1,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Related Party Transactions - Summary Of Accounts Receivable Related Party Debt Allowance For Credit Loss (Detail)",
     "menuCat": "Details",
     "order": "89",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail",
     "shortName": "Related Party Transactions - Summary Of Accounts Receivable Related Party Debt Allowance For Credit Loss (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:AccountsReceivableRelatedPartyDebtAllowanceForCreditLossTableTextBlock",
       "div",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_56aeb998-0e24-40b4-b796-18cfe84d812e",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllowanceForDoubtfulAccountsReceivable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100090 - Disclosure - Summary of Significant Accounting Policies",
     "menuCat": "Notes",
     "order": "9",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies",
     "shortName": "Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Related Party Transactions - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "90",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
     "shortName": "Related Party Transactions - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Share-Based Compensation - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "91",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
     "shortName": "Share-Based Compensation - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_0708279c-78a9-4a12-829d-2c61bf2c166b",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Share-Based Compensation - 2014 Restricted Shares plan (Detail)",
     "menuCat": "Details",
     "order": "92",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
     "shortName": "Share-Based Compensation - 2014 Restricted Shares plan (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_2cf2435d-69f8-46b7-9484-584df10abac8",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_93849df4-01ce-480c-81e8-452d106b816f",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Share-Based Compensation - 2013 Incentive Scheme (Detail)",
     "menuCat": "Details",
     "order": "93",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
     "shortName": "Share-Based Compensation - 2013 Incentive Scheme (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_1ee84237-4ea6-4dfe-bf02-8d50adc0c9b3",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_9ce6d72d-c8a5-4213-9d1c-dcc8f6229024",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Share-Based Compensation - 2011 Share Award Scheme (Detail)",
     "menuCat": "Details",
     "order": "94",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
     "shortName": "Share-Based Compensation - 2011 Share Award Scheme (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_e0c2d231-3805-4a37-b0a3-0293e78665e1",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardOfSubsidiariesTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_a3466264-ecfa-49b1-8aff-8bd8c7131a7a",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Share-Based Compensation - Summary of assumptions used for grant date fair value under binomial tree option pricing model (Detail)",
     "menuCat": "Details",
     "order": "95",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail",
     "shortName": "Share-Based Compensation - Summary of assumptions used for grant date fair value under binomial tree option pricing model (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "cmcm:DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardOfSubsidiariesTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_a3466264-ecfa-49b1-8aff-8bd8c7131a7a",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharePrice",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Share-Based Compensation - Schedule of share-based compensation expenses of subsidiaries' share-based awards recognized by the group (Detail)",
     "menuCat": "Details",
     "order": "96",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail",
     "shortName": "Share-Based Compensation - Schedule of share-based compensation expenses of subsidiaries' share-based awards recognized by the group (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Share-Based Compensation - Expenses Recorded by Group (Detail)",
     "menuCat": "Details",
     "order": "97",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
     "shortName": "Share-Based Compensation - Expenses Recorded by Group (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_17b83477-59ac-4f86-a682-fa0e9aa36178",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RecordedUnconditionalPurchaseObligationsTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PurchaseObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100990 - Disclosure - Commitments and Contingencies - Summary Of  Commitment For Cloud Services (Detail)",
     "menuCat": "Details",
     "order": "98",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingenciesSummaryOfCommitmentForCloudServicesDetail",
     "shortName": "Commitments and Contingencies - Summary Of  Commitment For Cloud Services (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:RecordedUnconditionalPurchaseObligationsTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_eaa832c7-d8c7-4d6d-82ff-5ec18b887536",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PurchaseObligation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_CNY",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_711dae39-affe-4928-86bb-e68ab338f38c",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockSharesAuthorized",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101000 - Disclosure - Shareholders' Equity - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "99",
     "role": "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail",
     "shortName": "Shareholders' Equity - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "cmcm-20221231.htm",
      "contextRef": "C_fa988b93-0fb2-4ee0-97d7-e72ce37c1faf",
      "decimals": "2",
      "lang": null,
      "name": "cmcm:PercentageOfAfterTaxProfitAllocatedToGeneralReserveFunds",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 144,
   "tag": {
    "cmcm_AccountReceivableRelatedPartyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Account receivable related party.",
        "label": "Account Receivable Related Party [Member]"
       }
      }
     },
     "localname": "AccountReceivableRelatedPartyMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_AccountsReceivableRelatedPartyDebtAllowanceForCreditLossTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounts receivable related party debt allowance for credit loss.",
        "label": "Accounts Receivable Related Party Debt Allowance For Credit Loss [Table Text Block]",
        "verboseLabel": "Summary Of Accounts Receivable Related Party Debt Allowance For Credit Loss"
       }
      }
     },
     "localname": "AccountsReceivableRelatedPartyDebtAllowanceForCreditLossTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_AccretionOfRedeemableNoncontrollingInterests": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accretion Of Redeemable Noncontrolling Interests",
        "label": "Accretion Of Redeemable Noncontrolling Interests",
        "negatedLabel": "Accretion of redeemable noncontrolling interests"
       }
      }
     },
     "localname": "AccretionOfRedeemableNoncontrollingInterests",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AccruedAdvertisingMarketingAndPromotionalExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for the marketing, advertising and promoting of the entity's goods and services. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Advertising Marketing And Promotional Expenses",
        "terseLabel": "Accrued advertising, marketing and promotional expenses"
       }
      }
     },
     "localname": "AccruedAdvertisingMarketingAndPromotionalExpenses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AccruedBandwidthAndInternetDataCenterExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 6.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for bandwidth and internet data center expenses.",
        "label": "Accrued Bandwidth And Internet Data Center Expenses",
        "terseLabel": "Accrued bandwidth and cloud service costs"
       }
      }
     },
     "localname": "AccruedBandwidthAndInternetDataCenterExpenses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued expenses and other liabilities disclosure text block.",
        "label": "Accrued Expenses And Other Liabilities Disclosure [Text Block]",
        "terseLabel": "Accrued Expenses And Other Liabilities"
       }
      }
     },
     "localname": "AccruedExpensesAndOtherLiabilitiesDisclosureTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_AccruedOperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the operating expenses accrued during the reporting period of the entity",
        "label": "Accrued Operating Expenses",
        "terseLabel": "Accrued operating expenses"
       }
      }
     },
     "localname": "AccruedOperatingExpenses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AccruedSalaryAndWelfarePayableCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of the obligations incurred through that date and payable for employees' services provided and welfare provided to employees pertaining to services received from them. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Salary And Welfare Payable Current",
        "terseLabel": "Salary and welfare payable"
       }
      }
     },
     "localname": "AccruedSalaryAndWelfarePayableCurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AccumulatedImpairmentIntangibleAssetsFiniteLived": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The accumulated amount of impairment loss recognized from the write-down of the carrying value of finite-lived intangible assets.",
        "label": "Accumulated Impairment Intangible Assets Finite Lived",
        "negatedLabel": "Accumulated impairment"
       }
      }
     },
     "localname": "AccumulatedImpairmentIntangibleAssetsFiniteLived",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AccumulatedImpairmentOfPropertyPlantAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated impairment of property plant and equipment.",
        "label": "Accumulated Impairment Of Property Plant And Equipment",
        "terseLabel": "Less: Accumulated impairment"
       }
      }
     },
     "localname": "AccumulatedImpairmentOfPropertyPlantAndEquipment",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AcquisitionOfPropertyIncludedInAccruedExpensesAndOtherCurrentLiabilities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non cash activity of acquiring property and equipment and intangible assets consideration included in accrued expenses and other current liabilities.",
        "label": "Acquisition Of Property Included In Accrued Expenses And Other Current Liabilities",
        "terseLabel": "Acquisition of property and equipment and intangible assets included in accrued expenses and other current liabilities"
       }
      }
     },
     "localname": "AcquisitionOfPropertyIncludedInAccruedExpensesAndOtherCurrentLiabilities",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AdjustmentToAdditionalPaidInCapitalAccountingStandardsUpdate201609": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment to additional paid in capital accounting standards update 201609.",
        "label": "Adjustment to Additional Paid in Capital Accounting Standards Update 201609",
        "terseLabel": "Adoption of ASC 326"
       }
      }
     },
     "localname": "AdjustmentToAdditionalPaidInCapitalAccountingStandardsUpdate201609",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AdjustmentsToAdditionalPaidInCapitalDisposalOfVieSSubsidiary": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in additional paid in capital (APIC) resulting from disposal of a VIE's subsidiaries.",
        "label": "Adjustments To Additional Paid In Capital Disposal Of Vie S Subsidiary",
        "terseLabel": "Disposal of subsidiaries"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalDisposalOfVieSSubsidiary",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AdvertisingAgencyServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Advertising agency services",
        "label": "Advertising agency services [Member]",
        "verboseLabel": "Advertising agency services"
       }
      }
     },
     "localname": "AdvertisingAgencyServicesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_AiRelatedEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AI Related Equipment [Member]",
        "terseLabel": "AI related equipment",
        "verboseLabel": "AI related equipment [Member]"
       }
      }
     },
     "localname": "AiRelatedEquipmentMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_AllowanceForCreditLosses": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 8.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for credit losses.",
        "label": "Allowance for Credit Losses",
        "negatedLabel": "Allowance for credit losses"
       }
      }
     },
     "localname": "AllowanceForCreditLosses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AllowanceForDoubtfulAccountsReceivableAdoptionOfFinancialInstruments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for doubtful accounts receivable adoption of financial instruments",
        "label": "Allowance For Doubtful Accounts Receivable Adoption Of Financial Instruments",
        "negatedLabel": "Adoption of ASC 326",
        "terseLabel": "Adoption of ASC 326",
        "verboseLabel": "Adoption of ASC 326"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableAdoptionOfFinancialInstruments",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AllowanceForDoubtfulAccountsReceivableDisposalOfASubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for doubtful accounts receivable disposal of a subsidiary",
        "label": "Allowance For Doubtful Accounts Receivable Disposal Of A Subsidiary",
        "negatedLabel": "Disposal of a subsidiary",
        "terseLabel": "Disposal of a subsidiary"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableDisposalOfASubsidiary",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AllowanceForDoubtfulAccountsReceivableExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for doubtful accounts receivable expenses",
        "label": "Allowance For Doubtful Accounts Receivable Expenses",
        "negatedLabel": "Amounts charged to expenses",
        "terseLabel": "Amounts charged to expenses"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableExpenses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AllowanceForDoubtfulAccountsReceivableForeignExchangeEffect": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for doubtful accounts receivable foreign exchange effect.",
        "label": "Allowance For Doubtful Accounts Receivable Foreign Exchange Effect",
        "negatedLabel": "Foreign Exchange effect",
        "terseLabel": "Foreign Exchange effect",
        "verboseLabel": "Foreign Exchange effect"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableForeignExchangeEffect",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_AmericanDepositorySharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to American Depository Shares.",
        "label": "American Depository Shares [Member]",
        "terseLabel": "ADS"
       }
      }
     },
     "localname": "AmericanDepositorySharesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_AmountDueFromRelatedPartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due from related parties.",
        "label": "Amount Due From Related Parties [Member]",
        "terseLabel": "Amount due from related parties"
       }
      }
     },
     "localname": "AmountDueFromRelatedPartiesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_AmountDueToRelatedPartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due to related parties.",
        "label": "Amount Due To Related Parties [Member]",
        "terseLabel": "Amount due to related parties"
       }
      }
     },
     "localname": "AmountDueToRelatedPartiesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_AntutuMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Antutu.",
        "label": "Antutu [Member]",
        "verboseLabel": "Antutu"
       }
      }
     },
     "localname": "AntutuMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_AppreciationDepreciationRateOfForeignCurrencyExchange": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Appreciation or depreciation rate of foreign currency exchange.",
        "label": "Appreciation Depreciation Rate Of Foreign Currency Exchange",
        "terseLabel": "Appreciation (depreciation) rate of foreign currency exchange (as a percent)"
       }
      }
     },
     "localname": "AppreciationDepreciationRateOfForeignCurrencyExchange",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_AvailableForSaleDebtSecurities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available-for-sale debt securities",
        "label": "Available-for-sale debt securities",
        "terseLabel": "Available-for-sale debt security"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecurities",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_BaiduMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Baidu.",
        "label": "Baidu [Member]",
        "terseLabel": "Baidu"
       }
      }
     },
     "localname": "BaiduMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BeijingCheetahMobileTechnologyCo.Ltd.Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Beijing Cheetah Mobile Technology Co., Ltd. (\"Beijing Mobile).",
        "label": "Beijing Cheetah Mobile Technology Co. Ltd. [Member]",
        "terseLabel": "Beijing Mobile"
       }
      }
     },
     "localname": "BeijingCheetahMobileTechnologyCo.Ltd.Member",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BeijingCheetahNetworkTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beijing Cheetah Network Technology Co Ltd.",
        "label": "Beijing Cheetah Network Technology Co Ltd [Member]",
        "terseLabel": "Beijing Cheetah Network Technology Co Ltd."
       }
      }
     },
     "localname": "BeijingCheetahNetworkTechnologyCoLtdMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BeijingConewTechnologyDevelopmentCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Beijing Conew Technology Development Co., Ltd.",
        "label": "Beijing Conew Technology Development Co Ltd [Member]",
        "terseLabel": "Beijing Conew"
       }
      }
     },
     "localname": "BeijingConewTechnologyDevelopmentCoLtdMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BeijingKingsoftCheetahTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Beijing Kingsoft Cheetah Technology Co., Ltd.",
        "label": "Beijing Kingsoft Cheetah Technology Co Ltd [Member]",
        "terseLabel": "Beijing Kingsoft Cheetah Technology"
       }
      }
     },
     "localname": "BeijingKingsoftCheetahTechnologyCoLtdMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BeijingKingsoftCheetahTechnologyCoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beijing Kingsoft Cheetah Technology Co",
        "label": "Beijing Kingsoft Cheetah Technology Co [Member]",
        "verboseLabel": "Beijing Kingsoft Cheetah Technology Co"
       }
      }
     },
     "localname": "BeijingKingsoftCheetahTechnologyCoMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BeijingKingsoftInternetSecuritySoftwareCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Beijing Kingsoft Internet Security Software Co., Ltd., a wholly-owed subsidiary of the reporting entity.",
        "label": "Beijing Kingsoft Internet Security Software Co Ltd [Member]",
        "terseLabel": "Beijing Security"
       }
      }
     },
     "localname": "BeijingKingsoftInternetSecuritySoftwareCoLtdMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BeijingOrionstarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beijing orionStar.",
        "label": "Beijing OrionStar [Member]"
       }
      }
     },
     "localname": "BeijingOrionstarMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BeijingSecurityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Beijing Security",
        "label": "Beijing Security [Member]",
        "verboseLabel": "Beijing Security"
       }
      }
     },
     "localname": "BeijingSecurityMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BusinessCombinationAndNoncontrollingInterestPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control) and noncontrolling interests. This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy.",
        "label": "Business Combination And Noncontrolling Interest Policy [Text Block]",
        "terseLabel": "Business combinations and noncontrolling interests"
       }
      }
     },
     "localname": "BusinessCombinationAndNoncontrollingInterestPolicyTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_BusinessCombinationInTwoThousandNineteenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination in Two Thousand Nineteen.",
        "label": "Business combination in Two Thousand Nineteen [Member]",
        "terseLabel": "Business combination in 2019 [Member]"
       }
      }
     },
     "localname": "BusinessCombinationInTwoThousandNineteenMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BusinessOperationAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to business operation agreements.",
        "label": "Business Operation Agreements [Member]",
        "terseLabel": "Business operation agreements"
       }
      }
     },
     "localname": "BusinessOperationAgreementsMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_BytedanceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bytedance",
        "label": "Bytedance [Member]",
        "terseLabel": "Bytedance Ltd."
       }
      }
     },
     "localname": "BytedanceMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_CancellationOfOrdinaryShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of ordinary shares.",
        "label": "Cancellation Of Ordinary Shares",
        "verboseLabel": "Cancellation of Class B ordinary shares"
       }
      }
     },
     "localname": "CancellationOfOrdinaryShares",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_CancellationOfTreasuryStock": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of Treasury Stock",
        "label": "Cancellation of Treasury Stock",
        "negatedLabel": "Cancelation of treasury stock"
       }
      }
     },
     "localname": "CancellationOfTreasuryStock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_CancellationOfTreasuryStockShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cancellation of treasury stock shares.",
        "label": "Cancellation of Treasury Stock Shares",
        "terseLabel": "Cancellation of treasury stock, shares"
       }
      }
     },
     "localname": "CancellationOfTreasuryStockShares",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_CapitalContributionFromNoncontrollingInterestShareholders": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the capital contribution from noncontrolling interest shareholders.",
        "label": "Capital Contribution From Noncontrolling Interest Shareholders",
        "terseLabel": "Capital contribution from noncontrolling shareholders"
       }
      }
     },
     "localname": "CapitalContributionFromNoncontrollingInterestShareholders",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_CargMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "CARG.",
        "label": "CARG [Member]"
       }
      }
     },
     "localname": "CargMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ChangeInEquityInterestOfConsolidatedSubsidiaries": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in equity interest of consolidated subsidiaries.",
        "label": "Change in equity interest of consolidated subsidiaries",
        "terseLabel": "Change in equity interest of consolidated subsidiaries"
       }
      }
     },
     "localname": "ChangeInEquityInterestOfConsolidatedSubsidiaries",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_ChangesInOwnershipInterestsInSubsidiaries": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Changes In Ownership Interests In Subsidiaries",
        "label": "Changes In Ownership Interests In Subsidiaries",
        "terseLabel": "Change in equity interest of subsidiaries"
       }
      }
     },
     "localname": "ChangesInOwnershipInterestsInSubsidiaries",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_CheetahInformationTechnologyCompanyLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Cheetah Information Technology Company Limited (\"Cheetah Information\"), a wholly-owed subsidiary of the reporting entity.",
        "label": "Cheetah Information Technology Company Limited [Member]",
        "terseLabel": "Cheetah Information"
       }
      }
     },
     "localname": "CheetahInformationTechnologyCompanyLimitedMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_CheetahMobileHongKongLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cheetah Mobile Hong Kong Limited",
        "label": "Cheetah Mobile Hong Kong Limited [Member]",
        "terseLabel": "Cheetah Mobile Hong Kong"
       }
      }
     },
     "localname": "CheetahMobileHongKongLimitedMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_CheetahMobileSingaporePteLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Cheetah Mobile Singapore Pte. Ltd.",
        "label": "Cheetah Mobile Singapore Pte Ltd [Member]",
        "terseLabel": "Cheetah Mobile Singapore"
       }
      }
     },
     "localname": "CheetahMobileSingaporePteLtdMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_CheetahTechnologyCorporationLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Cheetah Technology Corporation Limited, a wholly-owed subsidiary of the reporting entity.",
        "label": "Cheetah Technology Corporation Limited [Member]",
        "terseLabel": "Cheetah Technology"
       }
      }
     },
     "localname": "CheetahTechnologyCorporationLimitedMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ClassificationInTheConsolidatedBalanceSheetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification in the consolidated balance sheets abstract.",
        "label": "Classification In The Consolidated Balance Sheets [Abstract]",
        "terseLabel": "Classification in the consolidated balance sheets:"
       }
      }
     },
     "localname": "ClassificationInTheConsolidatedBalanceSheetsAbstract",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_ComparativeFinancialInformationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure accounting policy on reclassification of line items in the financial statement for comparatively of financial information.",
        "label": "Comparative Financial Information [Policy Text Block]",
        "terseLabel": "Comparative Information"
       }
      }
     },
     "localname": "ComparativeFinancialInformationPolicyTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ConcentrationRiskPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for risks.",
        "label": "Concentration Risk Policy [Text Block]",
        "terseLabel": "Concentration of risks"
       }
      }
     },
     "localname": "ConcentrationRiskPolicyTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ConcentrationRiskThresholdPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Concentration Risk Threshold Percentage.",
        "label": "Concentration Risk Threshold Percentage",
        "terseLabel": "Concentration risk percentage"
       }
      }
     },
     "localname": "ConcentrationRiskThresholdPercentage",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_ConewNetworkTechnologyBeijingCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Conew Network Technology (Beijing) Co., Ltd., a wholly-owed subsidiary of the reporting entity.",
        "label": "Conew Network Technology Beijing Co Ltd [Member]",
        "terseLabel": "Conew Network"
       }
      }
     },
     "localname": "ConewNetworkTechnologyBeijingCoLtdMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ConvenienceTranslationPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for convenience translation.",
        "label": "Convenience Translation [Policy Text Block]",
        "terseLabel": "Convenience translation"
       }
      }
     },
     "localname": "ConvenienceTranslationPolicyTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ConvertibleLoanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Convertible loan.",
        "label": "Convertible Loan [Member]"
       }
      }
     },
     "localname": "ConvertibleLoanMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_CountriesOtherThanChinaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to other than China",
        "label": "Countries Other Than China [Member]",
        "terseLabel": "Non-PRC"
       }
      }
     },
     "localname": "CountriesOtherThanChinaMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_CountriesOutsideChinaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Countries outside China based on customers' register address.",
        "label": "Countries Outside China [Member]",
        "verboseLabel": "Overseas"
       }
      }
     },
     "localname": "CountriesOutsideChinaMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_DebtSecuritiesEquityInvestmentAccountedForGainsAndLosses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities Equity Investment Accounted For Gains And Losses",
        "label": "Debt Securities Equity Investment Accounted For Gains And Losses",
        "terseLabel": "Total (losses) gains, Equity investments accounted for using fair value option"
       }
      }
     },
     "localname": "DebtSecuritiesEquityInvestmentAccountedForGainsAndLosses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DebtSecuritiesEquityInvestmentFairValueForGainsAndLosses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt Securities Equity Investment Fair Value For Gains And Losses",
        "label": "Debt Securities Equity Investment Fair Value For Gains And Losses",
        "terseLabel": "Total (losses) gains, Equity investments with readily determinable fair value"
       }
      }
     },
     "localname": "DebtSecuritiesEquityInvestmentFairValueForGainsAndLosses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DebtSecuritiesWealthManagementProductsGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities wealth management products gain loss.",
        "label": "Debt Securities Wealth Management Products Gain Loss",
        "terseLabel": "Total (losses) gains, Wealth management products"
       }
      }
     },
     "localname": "DebtSecuritiesWealthManagementProductsGainLoss",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeconsolidationOfSubsidiariesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deconsolidation of Subsidiaries [Member]",
        "label": "Deconsolidation of Subsidiaries [Member]",
        "terseLabel": "Deconsolidation of Subsidiaries [Member]"
       }
      }
     },
     "localname": "DeconsolidationOfSubsidiariesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_DeferredTaxAssetNetNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax asset net noncurrent.",
        "label": "Deferred Tax Asset Net Noncurrent",
        "terseLabel": "Deferred tax assets",
        "totalLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetNetNoncurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxAssetsEquityInvestmentGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 7.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from (gains)/losses on equity investments.",
        "label": "Deferred Tax Assets Equity Investment Gain Loss",
        "terseLabel": "Equity investment loss"
       }
      }
     },
     "localname": "DeferredTaxAssetsEquityInvestmentGainLoss",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxAssetsNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Deferred Tax Assets Noncurrent [Abstract]",
        "terseLabel": "Deferred tax assets:"
       }
      }
     },
     "localname": "DeferredTaxAssetsNoncurrentAbstract",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_DeferredTaxAssetsOperatingLossCarryforwardsNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 4.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards, expected to be realized or consumed after one year (or the normal operating cycle, if longer).",
        "label": "Deferred Tax Assets, Operating Loss Carryforwards, Noncurrent",
        "terseLabel": "Tax losses carry forward"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwardsNoncurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 2.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset, non-current attributable to deductible temporary differences from compensation and benefits costs.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Compensation and Benefits, Noncurrent",
        "terseLabel": "Share-based compensation"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsNoncurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxAssetsTaxDeferredExpenseOtherNonCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 8.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tax effect as of the balance sheet date of the amount of the estimated future tax deductions arising from other provisions, reserves, allowances, and liabilities, which are not otherwise reflected in deferred taxes in the taxonomy, which can only be deducted for tax purposes when relevant losses are realized or actual obligations are incurred, and which can only be realized if sufficient tax-basis income is generated in future periods to enable the deduction to be taken representing non current portion.",
        "label": "Deferred Tax Assets Tax Deferred Expense Other Non Current",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseOtherNonCurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccountsNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 5.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Allowance for Doubtful Accounts, Noncurrent",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Allowance for Doubtful Accounts, Noncurrent",
        "terseLabel": "Allowance for credit losses"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccountsNoncurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxFixedAssetsDepreciation": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 1.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax fixed assets depreciation.",
        "label": "Deferred Tax Fixed Assets Depreciation",
        "terseLabel": "Fixed assets depreciation"
       }
      }
     },
     "localname": "DeferredTaxFixedAssetsDepreciation",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxLiabilitiesEquityMethodInvestmentNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 2.0,
       "parentTag": "cmcm_DeferredTaxLiabilityGrossNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Tax Liabilities Equity Method Investment Noncurrent.",
        "label": "Deferred Tax Liabilities Equity Method Investment Noncurrent",
        "terseLabel": "Equity method investment and unrealized gains"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesEquityMethodInvestmentNoncurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxLiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred Tax Liabilities Noncurrent [Abstract]",
        "label": "Deferred Tax Liabilities Noncurrent [Abstract]",
        "terseLabel": "Deferred tax liabilities:"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesNoncurrentAbstract",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_DeferredTaxLiabilityCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 0.0,
       "parentTag": "cmcm_DeferredTaxLiabilityGrossNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax liability current.",
        "label": "Deferred Tax Liability Current",
        "terseLabel": "Outside basis difference on investment"
       }
      }
     },
     "localname": "DeferredTaxLiabilityCurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DeferredTaxLiabilityGrossNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax liability gross noncurrent.",
        "label": "Deferred Tax Liability Gross Noncurrent",
        "totalLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilityGrossNoncurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DepreciationRateOfForeignCurrencyExchange": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Depreciation rate of foreign currency exchange.",
        "label": "Depreciation Rate Of Foreign Currency Exchange"
       }
      }
     },
     "localname": "DepreciationRateOfForeignCurrencyExchange",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_DilutiveSecuritiesEffectOnBasicEarningsPerShareConversionOfClassbOrdinaryShares": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) to net income used for calculating diluted earnings per share (EPS), resulting from the assumed exercise of dilutive convertible Class B Ordinary shares.",
        "label": "Dilutive Securities Effect On Basic Earnings Per Share Conversion Of Classb Ordinary Shares",
        "terseLabel": "Reallocation of net income as a result of conversion of Class B into Class A ordinary shares"
       }
      }
     },
     "localname": "DilutiveSecuritiesEffectOnBasicEarningsPerShareConversionOfClassbOrdinaryShares",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DilutiveSecuritiesEffectOnShareBasedAwardsDilutedEarningsPerShare": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dilutive securities, effect on share-based awards diluted earnings per share",
        "label": "Dilutive Securities, Effect On Share-based Awards Diluted Earnings Per Share",
        "terseLabel": "Dilution effect arising from share-based awards issued by subsidiaries"
       }
      }
     },
     "localname": "DilutiveSecuritiesEffectOnShareBasedAwardsDilutedEarningsPerShare",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardOfSubsidiariesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of share-based payment arrangement of subsidiaries.",
        "label": "Disclosure Of Share Based Compensation Arrangements By Share Based Payment Award Of Subsidiaries [Text Block]",
        "terseLabel": "Summary of assumptions used for grant date fair value under binomial tree option pricing model"
       }
      }
     },
     "localname": "DisclosureOfShareBasedCompensationArrangementsByShareBasedPaymentAwardOfSubsidiariesTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_DisposalOfInvestmentBusinessesAndSubsidiariesIncludedInPrepaymentsAndOtherCurrentAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal of investment, businesses and subsidiaries included in prepayments and other current assets.",
        "label": "Disposal Of Investment Businesses And Subsidiaries Included In Prepayments And Other Current Assets",
        "terseLabel": "Disposal of investment, businesses and subsidiaries included in prepayments and other current assets"
       }
      }
     },
     "localname": "DisposalOfInvestmentBusinessesAndSubsidiariesIncludedInPrepaymentsAndOtherCurrentAssets",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DisposalOfInvestmentBusinessesAndSubsidiariesIncludedInRelatedParties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal of investment, businesses and subsidiaries included in related parties.",
        "label": "Disposal Of Investment Businesses And Subsidiaries Included In Related Parties",
        "terseLabel": "Disposal of investment, businesses and subsidiaries included in related parties"
       }
      }
     },
     "localname": "DisposalOfInvestmentBusinessesAndSubsidiariesIncludedInRelatedParties",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DividendDeclaredByConsolidatedSubsidiaryToNoncontrollingInterests": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dividend declared by consolidated subsidiary to noncontrolling interests.",
        "label": "Dividend Declared by Consolidated Subsidiary to Noncontrolling Interests",
        "negatedLabel": "Dividends declared on share awards of consolidated subsidiaries"
       }
      }
     },
     "localname": "DividendDeclaredByConsolidatedSubsidiaryToNoncontrollingInterests",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DlomMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "DLOM.",
        "label": "DLOM [Member]"
       }
      }
     },
     "localname": "DlomMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_DomainNamesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the Domain names.",
        "label": "Domain Names [Member]",
        "terseLabel": "Domain names",
        "verboseLabel": "Domain names [Member]"
       }
      }
     },
     "localname": "DomainNamesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_DueFromRelatedPartyNoncurrent": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Due from related party noncurrent.",
        "label": "Due from Related Party Noncurrent"
       }
      }
     },
     "localname": "DueFromRelatedPartyNoncurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_DueToSubsidiariesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represent information pertaining to amounts due to subsidiaries of the Group.",
        "label": "Due To Subsidiaries [Member]",
        "terseLabel": "Due to Subsidiaries"
       }
      }
     },
     "localname": "DueToSubsidiariesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_EarningsPerAds": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "n/a",
        "label": "Earnings (Losses) per ADS (1 ADS represent 50 Class A ordinary share)",
        "terseLabel": "Earnings (loss) per ADS (1 ADS represent 10 Class A ordinary share)"
       }
      }
     },
     "localname": "EarningsPerAds",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_EbitMarginMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EBIT margin [Member].",
        "label": "EBIT Margin [Member]",
        "terseLabel": "EBIT Margin [member]"
       }
      }
     },
     "localname": "EbitMarginMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ElectronicEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Electronic tangible personal property used to produce goods and services.",
        "label": "Electronic Equipment [Member]",
        "terseLabel": "Electronic equipment",
        "verboseLabel": "Electronic equipment [Member]"
       }
      }
     },
     "localname": "ElectronicEquipmentMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_EquityIncentivePlansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity Incentive Plans [Member].",
        "label": "Equity Incentive Plans [Member]",
        "terseLabel": "Equity Incentive Plans [Member]"
       }
      }
     },
     "localname": "EquityIncentivePlansMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_EquityInvestmentsAccountedForUsingFairValueOption": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity investments accounted for using fair value option.",
        "label": "Equity Investments Accounted For Using Fair Value Option",
        "terseLabel": "Equity investments accounted for using fair value option"
       }
      }
     },
     "localname": "EquityInvestmentsAccountedForUsingFairValueOption",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_EquityInvestmentsAccountedForUsingFairValueOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Investments Accounted For Using Fair Value Option [Member]"
       }
      }
     },
     "localname": "EquityInvestmentsAccountedForUsingFairValueOptionMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_EquityInvestmentsAccountedForUsingMeasurementAlternativeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity Investments Accounted For Using Measurement Alternative [Member]"
       }
      }
     },
     "localname": "EquityInvestmentsAccountedForUsingMeasurementAlternativeMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_EquityInvestmentsMeasuredAtFairValueUsingMeasurementAlternative": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security remeasured at fair value during the year with change in fair value recognized in net income.",
        "label": "Equity Investments Measured at Fair Value Using Measurement Alternative",
        "terseLabel": "Equity investments measured at fair value using the measurement alternative"
       }
      }
     },
     "localname": "EquityInvestmentsMeasuredAtFairValueUsingMeasurementAlternative",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_EquityInvestmentsWithReadilyDeterminableFairValueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity investments with readily determinable fair value.",
        "label": "Equity investments with readily determinable fair value [Member]",
        "terseLabel": "Equity investments with readily determinable fair value"
       }
      }
     },
     "localname": "EquityInvestmentsWithReadilyDeterminableFairValueMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_EquityMethodInvestmentsAsResultOfTheDeconsolidationOfABusiness": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity method investments as result of the deconsolidation of a business",
        "label": "Equity Method Investments As Result Of The Deconsolidation Of A Business",
        "terseLabel": "Equity method investments as result of the deconsolidation of a business"
       }
      }
     },
     "localname": "EquityMethodInvestmentsAsResultOfTheDeconsolidationOfABusiness",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_FairValueAssetsLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets and liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs).",
        "label": "Fair Value Assets Liabilities Measured On Recurring Basis Unobservable Input Reconciliation Table [Text Block]",
        "terseLabel": "Reconciliation of the assets and liabilities measured at fair value on a recurring basis using significant unobservable inputs"
       }
      }
     },
     "localname": "FairValueAssetsLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_FairValueInputsQuantitativeInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value Inputs Quantitative Information [Line Items]",
        "label": "Fair Value Inputs Quantitative Information [Line Items]",
        "terseLabel": "Fair Value Inputs Quantitative Information [Line Items]"
       }
      }
     },
     "localname": "FairValueInputsQuantitativeInformationLineItems",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_FairValueInputsQuantitativeInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of the inputs used in the fair value measurement.",
        "label": "Fair Value Inputs Quantitative Information [Table]",
        "terseLabel": "Fair Value Inputs Quantitative Information [Table]"
       }
      }
     },
     "localname": "FairValueInputsQuantitativeInformationTable",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetForeignExchangeAdjustment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Foreign Exchange Adjustment",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Foreign Exchange Adjustment",
        "terseLabel": "Foreign exchange translation adjustments"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetForeignExchangeAdjustment",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_FairValueMethodInvestmentOwnershipPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair Value Method Investment Ownership Percentage",
        "label": "Fair Value Method Investment Ownership Percentage",
        "terseLabel": "Fair value method investment ownership percentage"
       }
      }
     },
     "localname": "FairValueMethodInvestmentOwnershipPercentage",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_FirstTwoMillionOfProfitEarnedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Two Million of Profit Earned [Member]",
        "label": "First Two Million of Profit Earned [Member]",
        "terseLabel": "First HK$2 Million of Profits Earned"
       }
      }
     },
     "localname": "FirstTwoMillionOfProfitEarnedMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ForeignCurrencyExchangeGainLossNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign Currency Exchange, Gain (Loss), Net",
        "label": "Foreign Currency Exchange, Gain (Loss), Net",
        "negatedLabel": "Foreign currency exchange (gains) losses"
       }
      }
     },
     "localname": "ForeignCurrencyExchangeGainLossNet",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_FourteenEquityInvesteesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fourteen Equity Investees [Member]",
        "terseLabel": "Fourteen Equity Investees [Member]"
       }
      }
     },
     "localname": "FourteenEquityInvesteesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_GainLossOnDispositionOfBusinessesAndStockInVariableInterestEntitiesSubsidiary": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gain loss on disposition of businesses and stock in variable interest entities subsidiary.",
        "label": "Gain Loss On Disposition Of Businesses And Stock In Variable Interest Entities Subsidiary",
        "negatedLabel": "(Gains) Losses on disposal/deemed disposal of businesses and subsidiaries/VIEs"
       }
      }
     },
     "localname": "GainLossOnDispositionOfBusinessesAndStockInVariableInterestEntitiesSubsidiary",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_GainLossOnDividendsReceived": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to amount of gain (loss) on dividends received.",
        "label": "Gain Loss On Dividends Received",
        "terseLabel": "Gain on dividends received from long-term investment investees"
       }
      }
     },
     "localname": "GainLossOnDividendsReceived",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_GamingAndUtilityRelatedBusinessesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gaming And Utility Related Businesses [Member]",
        "terseLabel": "Gaming And Utility Related Businesses [Member]"
       }
      }
     },
     "localname": "GamingAndUtilityRelatedBusinessesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_GamingAndUtilityRelatedbusinessesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gaming And Utility RelatedBusinesses [Member]"
       }
      }
     },
     "localname": "GamingAndUtilityRelatedbusinessesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_GeographicalInformationTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the entire disclosure for information about geographical area.",
        "label": "Geographical Information [Text Block]",
        "terseLabel": "Geographical Information"
       }
      }
     },
     "localname": "GeographicalInformationTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_GoogleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to Google.",
        "label": "Google [Member]",
        "terseLabel": "Google"
       }
      }
     },
     "localname": "GoogleMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_GovernmentSubsidiesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for government subsidies.",
        "label": "Government subsidies, [Policy Text Block]",
        "terseLabel": "Government subsidies"
       }
      }
     },
     "localname": "GovernmentSubsidiesPolicyTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_HighNewTechnologyEnterpriseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to High New Technology Enterprise (\"HNTE\").",
        "label": "High New Technology Enterprise [Member]",
        "terseLabel": "HNTE"
       }
      }
     },
     "localname": "HighNewTechnologyEnterpriseMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_HkZoomBusinessMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to HK Zoom business.",
        "label": "Hk Zoom Business [Member]",
        "terseLabel": "HK Zoom"
       }
      }
     },
     "localname": "HkZoomBusinessMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_HongKongSingaporeAndOthersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hong Kong Singapore And Others.",
        "label": "Hong Kong Singapore And Others [Member]",
        "terseLabel": "Hong Kong, Singapore And Others"
       }
      }
     },
     "localname": "HongKongSingaporeAndOthersMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ImpactOfcovid19PolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impact of\u00a0COVID-19",
        "label": "Impact OfCOVID19 [Policy Text Block]",
        "terseLabel": "Impact of\u00a0COVID-19"
       }
      }
     },
     "localname": "ImpactOfcovid19PolicyTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ImpairmentOfPrepaymentsAndInventory": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 7.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impairment of prepayments and inventory.",
        "label": "Impairment Of Prepayments And Inventory",
        "negatedLabel": "Impairment of prepayments and inventory"
       }
      }
     },
     "localname": "ImpairmentOfPrepaymentsAndInventory",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncentiveAwardScheme2013Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information related to the Incentive Award Scheme 2013 adopted by the entity to to recognize the contributions of certain employees and to give incentives thereto in order to retain them for the continued operation and development thereof.",
        "label": "Incentive Award Scheme 2013 [Member]",
        "terseLabel": "2013 Incentive Scheme"
       }
      }
     },
     "localname": "IncentiveAwardScheme2013Member",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_IncomeLossFromContinuingOperationsPerBasicAmericanDepositoryShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) from continuing operations per each American Depository share or unit outstanding during the reporting period.",
        "label": "Income Loss From Continuing Operations Per Basic American Depository Share",
        "terseLabel": "Basic"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsPerBasicAmericanDepositoryShare",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_IncomeLossFromContinuingOperationsPerDilutedAmericanDepositoryShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) derived from continuing operations during the period available to each American Depository Share or unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Income Loss From Continuing Operations Per Diluted American Depository Share",
        "terseLabel": "Diluted"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsPerDilutedAmericanDepositoryShare",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_IncomeTaxExemptionPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the tax exemption period for income tax rate.",
        "label": "Income Tax Exemption Period",
        "terseLabel": "Exemption period for income tax"
       }
      }
     },
     "localname": "IncomeTaxExemptionPeriod",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "cmcm_IncomeTaxForeignStatutoryTaxRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the statutory corporate income tax rate in the foreign jurisdiction.",
        "label": "Income Tax Foreign Statutory Tax Rate",
        "terseLabel": "Foreign statutory tax rate"
       }
      }
     },
     "localname": "IncomeTaxForeignStatutoryTaxRate",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_IncomeTaxForeignStatutoryTaxRateOverStatedIncomeLevel": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the statutory corporate income tax rate over the stated taxable income in the foreign jurisdiction.",
        "label": "Income Tax Foreign Statutory Tax Rate Over Stated Income Level",
        "terseLabel": "Foreign statutory tax rate over stated taxable income level"
       }
      }
     },
     "localname": "IncomeTaxForeignStatutoryTaxRateOverStatedIncomeLevel",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_IncomeTaxPreferentialTaxRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the preferential tax rate applicable to the entity under the preferential tax treatment.",
        "label": "Income Tax Preferential Tax Rate",
        "terseLabel": "Preferential tax rate"
       }
      }
     },
     "localname": "IncomeTaxPreferentialTaxRate",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_IncomeTaxReconciliationChangesInUncertainTaxPositions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income tax reconciliation changes in uncertain tax positions.",
        "label": "Income Tax Reconciliation Changes In Uncertain Tax Positions",
        "terseLabel": "Changes in uncertain tax position"
       }
      }
     },
     "localname": "IncomeTaxReconciliationChangesInUncertainTaxPositions",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncomeTaxReconciliationEffectOfPreferentialTaxRateOnDeferredTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income exempt from income tax because effect of preferential tax rate on deferred tax.",
        "label": "Income Tax Reconciliation Effect Of Preferential Tax Rate On Deferred Tax",
        "negatedLabel": "Effect of tax holiday and preferential tax rates",
        "terseLabel": "Income tax holiday, aggregate dollar amount"
       }
      }
     },
     "localname": "IncomeTaxReconciliationEffectOfPreferentialTaxRateOnDeferredTax",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncomeTaxReconciliationEffectOfPreferentialTaxRateOnDeferredTaxes": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income Tax Reconciliation Effect Of Preferential Tax Rate On Deferred Taxes.",
        "label": "Income Tax Reconciliation Effect Of Preferential Tax Rate On Deferred Taxes",
        "verboseLabel": "Income tax holiday and preferential tax rates, income tax benefits per share"
       }
      }
     },
     "localname": "IncomeTaxReconciliationEffectOfPreferentialTaxRateOnDeferredTaxes",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_IncomeTaxReconciliationGainLossOnSaleOfInvestmentsAndSubsidiaries": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income Tax Reconciliation Gain Loss on Sale of Investments and Subsidiaries",
        "label": "Income Tax Reconciliation Gain Loss on Sale of Investments and Subsidiaries",
        "negatedLabel": "Non-taxable income"
       }
      }
     },
     "localname": "IncomeTaxReconciliationGainLossOnSaleOfInvestmentsAndSubsidiaries",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncomeTaxReconciliationOutsideBasisDifferences": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 7.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to outside basis differences.",
        "label": "Income Tax Reconciliation Outside Basis Differences",
        "terseLabel": "Outside basis difference on investment"
       }
      }
     },
     "localname": "IncomeTaxReconciliationOutsideBasisDifferences",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncomeTaxReconciliationWithholdingTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 8.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to withholding tax.",
        "label": "Income Tax Reconciliation Withholding Tax",
        "terseLabel": "Withholding tax and others"
       }
      }
     },
     "localname": "IncomeTaxReconciliationWithholdingTax",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncomeTaxReductionPercentageFollowingExemptionPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the percentage by which the tax rate is reduced for the stated period following the initial exemption period.",
        "label": "Income Tax Reduction Percentage Following Exemption Period",
        "terseLabel": "Reduction in tax rate for stated period following the exemption period"
       }
      }
     },
     "localname": "IncomeTaxReductionPercentageFollowingExemptionPeriod",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_IncomeTaxesDisclosureTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosures pertaining to income taxes.",
        "label": "Income Taxes Disclosure [Table]",
        "terseLabel": "Income Taxes Disclosure [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDisclosureTable",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_IncomeTaxesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Income Taxes [Line Items]",
        "terseLabel": "Income Taxes [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesLineItems",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_IncreaseDecreaseInAccruedExpenseAndOtherLiabilitiesCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of expenses incurred but not yet paid. And the increase (decrease) during the reporting period in the aggregate amount of current liabilities (due within one year or within the normal operating cycle if longer) not separately disclosed in the balance sheet.",
        "label": "Increase Decrease In Accrued Expense And Other Liabilities Current",
        "terseLabel": "Accrued expenses and other current liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedExpenseAndOtherLiabilitiesCurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncreaseDecreaseInOperatingLeaseLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in operating lease liabilities.",
        "label": "Increase Decrease in Operating lease Liabilities",
        "negatedLabel": "Operating lease liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingLeaseLiabilities",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncreaseDecreaseInPrepaymentsAndOtherAssetsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the amount of outstanding money paid in advance for goods or services that bring economic benefits for future periods. And The increase (decrease) during the reporting period in current assets, which are not not separately disclosed in the balance sheet and are expected to be realized or consumed within one year (or the normal operating cycle, if longer).",
        "label": "Increase Decrease In Prepayments And Other Assets Current",
        "negatedLabel": "Prepayments and other current assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaymentsAndOtherAssetsCurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IncrementalCommonSharesAttributableToConversionOfClassbOrdinaryShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible Class B Ordinary shares using the if-converted method.",
        "label": "Incremental Common Shares Attributable To Conversion Of Classb Ordinary Shares",
        "terseLabel": "Conversion of Class B into Class A ordinary shares"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToConversionOfClassbOrdinaryShares",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_IntangibleAssetsAndAccruedExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 6.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets and accrued expense.",
        "label": "Intangible Assets And Accrued Expense",
        "terseLabel": "Intangible assets and accrued expenses"
       }
      }
     },
     "localname": "IntangibleAssetsAndAccruedExpense",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_IntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intangible Assets [Line Items]",
        "label": "Intangible Assets [Line Items]",
        "terseLabel": "Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "IntangibleAssetsLineItems",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_IntangibleAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intangible Assets [Table]",
        "label": "Intangible Assets [Table]",
        "terseLabel": "Intangible Assets [Table]"
       }
      }
     },
     "localname": "IntangibleAssetsTable",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_IntercompanyTransferOfDeferredTaxAssetsLongLivedAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 3.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intercompany transfer of deferred tax assets long lived assets.",
        "label": "Intercompany Transfer Of Deferred Tax Assets Long Lived Assets",
        "terseLabel": "Long-lived assets arising from deconsolidation",
        "verboseLabel": "Intercompany transfer of long-lived assets"
       }
      }
     },
     "localname": "IntercompanyTransferOfDeferredTaxAssetsLongLivedAssets",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_InternetBusinessMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Internet Business [Member]",
        "terseLabel": "Internet Business [Member]"
       }
      }
     },
     "localname": "InternetBusinessMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_InternetBusinessSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Internet Business Segment [Member]"
       }
      }
     },
     "localname": "InternetBusinessSegmentMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_InternetServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internet Services",
        "label": "Internet Services [Member]",
        "verboseLabel": "Internet Services"
       }
      }
     },
     "localname": "InternetServicesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_InternetValueaddedServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Internet value-added services",
        "label": "Internet valueadded services [Member]",
        "verboseLabel": "Internet valueadded services"
       }
      }
     },
     "localname": "InternetValueaddedServicesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_InvestmentInSubsidiaries": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in subsidiaries.",
        "label": "Investment in subsidiaries",
        "terseLabel": "Investment in subsidiaries"
       }
      }
     },
     "localname": "InvestmentInSubsidiaries",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_InvestmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment.",
        "label": "Investment [Line Items]",
        "terseLabel": "Investment [Line Items]"
       }
      }
     },
     "localname": "InvestmentLineItems",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_InvestmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments.",
        "label": "Investments [Table]"
       }
      }
     },
     "localname": "InvestmentsTable",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_InvestmentsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments.",
        "label": "Investments [Text Block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentsTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/Investments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_IpoProbabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "IPO Probability.",
        "label": "IPO Probability [Member]",
        "terseLabel": "IPO Probability [member]"
       }
      }
     },
     "localname": "IpoProbabilityMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_JingdezhenJibaoInformationServiceCoLtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information Jingdezhen Jibao Information Service Co.,\u00a0Lt.",
        "label": "Jingdezhen Jibao Information Service Co Lt [Member]",
        "terseLabel": "Jingdezhen Jibao Information"
       }
      }
     },
     "localname": "JingdezhenJibaoInformationServiceCoLtMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_KingsoftGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Kingsoft Group.",
        "label": "Kingsoft Group [Member]",
        "terseLabel": "Kingsoft Group"
       }
      }
     },
     "localname": "KingsoftGroupMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_KingsoftJapanIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents Kingsoft Japan Inc.",
        "label": "Kingsoft Japan Inc [Member]",
        "terseLabel": "Japan Kingsoft",
        "verboseLabel": "Kingsoft Japan"
       }
      }
     },
     "localname": "KingsoftJapanIncMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_LicenseFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the License fee.",
        "label": "License Fee [Member]",
        "terseLabel": "Online game licenses",
        "verboseLabel": "Online game licenses [Member]"
       }
      }
     },
     "localname": "LicenseFeeMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_LiveMeIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Live. me.Inc.",
        "label": "Live. me.Inc [Member]",
        "terseLabel": "Live.me.Inc",
        "verboseLabel": "Liveme Group"
       }
      }
     },
     "localname": "LiveMeIncMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_LiveMeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Live Me.",
        "label": "Live Me [Member]",
        "terseLabel": "Live me [Member]"
       }
      }
     },
     "localname": "LiveMeMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_LoansAndInvestmentsProvidedToOrReceivedFromMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans and Investments Provided To or Received From [Member]",
        "terseLabel": "Loans and investments provided to/(received from)"
       }
      }
     },
     "localname": "LoansAndInvestmentsProvidedToOrReceivedFromMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_LoansGrantedToNomineeShareholdersAndViesByPrimaryBeneficiaries": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of loans granted by primary beneficiaries to the nominee shareholders and VIEs pursuant to the loan agreements.",
        "label": "Loans Granted to Nominee Shareholders and VIEs by Primary Beneficiaries",
        "terseLabel": "Loans granted to nominee shareholders and VIEs by primary beneficiaries"
       }
      }
     },
     "localname": "LoansGrantedToNomineeShareholdersAndViesByPrimaryBeneficiaries",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_MaximumOwnershipPercentageInICP": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the maximum equity interest percentage which foreign investors are allowed to own in any Internet Content Provider (\"ICP\") business in the PRC.",
        "label": "Maximum Ownership Percentage In I C P",
        "terseLabel": "Maximum ownership percentage in ICP business"
       }
      }
     },
     "localname": "MaximumOwnershipPercentageInICP",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_MeasurementInputSalesGrowthRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement Input Sales Growth Rate [Member]",
        "terseLabel": "Sales Growth Rate [member]"
       }
      }
     },
     "localname": "MeasurementInputSalesGrowthRateMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_MeasurementInputWeightedAverageCostOfCapitalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input weighted average cost of capital.",
        "label": "Measurement Input Weighted Average Cost Of Capital [Member]",
        "terseLabel": "Weighted average cost of capital [member]"
       }
      }
     },
     "localname": "MeasurementInputWeightedAverageCostOfCapitalMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_MulticloudLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Multicloud Limited [Member]",
        "verboseLabel": "Multicloud Limited"
       }
      }
     },
     "localname": "MulticloudLimitedMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_MulticloudManagementServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Multi-cloud management services.",
        "label": "MultiCloud Management Services [Member]",
        "terseLabel": "Multi-cloud Management Services"
       }
      }
     },
     "localname": "MulticloudManagementServicesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_NetAssetsRestrictedToTransfer": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net assets of the entity's subsidiaries in the PRC and VIEs which are restricted to transfer to the entity either in the form of dividends, loans, or advances. The net assets include paid-up capital, statutory reserve funds and share-based compensation reserve funds.",
        "label": "Net Assets Restricted To Transfer",
        "terseLabel": "Net assets restricted to transfer"
       }
      }
     },
     "localname": "NetAssetsRestrictedToTransfer",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_NewSoftwareDevelopmentEnterprisesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents activity related to entities approved as new software development enterprises.",
        "label": "New Software Development Enterprises [Member]",
        "terseLabel": "New Software Development Enterprise"
       }
      }
     },
     "localname": "NewSoftwareDevelopmentEnterprisesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_NewsRepublicSasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents News Republic S.A.S information.",
        "label": "News Republic Sas [Member]",
        "terseLabel": "News Republic"
       }
      }
     },
     "localname": "NewsRepublicSasMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_NoncashOperatingLeaseExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-cash operating lease expense.",
        "label": "Noncash operating lease expense",
        "negatedLabel": "Non-cash operating lease expense"
       }
      }
     },
     "localname": "NoncashOperatingLeaseExpense",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_NotionalAmountOfCrossCurrencyInterestRateSwap": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Notional Amount Of Cross Currency Interest Rate Swap.",
        "label": "Notional Amount Of Cross Currency Interest Rate Swap",
        "terseLabel": "Noon buying rate"
       }
      }
     },
     "localname": "NotionalAmountOfCrossCurrencyInterestRateSwap",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_OfficeEquipmentAndFixturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tangible personal property used in an office setting and equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities.",
        "label": "Office Equipment And Fixtures [Member]",
        "terseLabel": "Office equipment and fixtures",
        "verboseLabel": "Office equipment and fixtures [Member]"
       }
      }
     },
     "localname": "OfficeEquipmentAndFixturesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_OnlineAdvertisingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Online Advertising",
        "label": "Online Advertising [Member]",
        "verboseLabel": "Online Advertising"
       }
      }
     },
     "localname": "OnlineAdvertisingMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_OperatingExpensesAndOtherOperatingIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the total of operating expenses and other operating income.",
        "label": "Operating Expenses And Other Operating Income",
        "negatedTotalLabel": "Total operating expenses"
       }
      }
     },
     "localname": "OperatingExpensesAndOtherOperatingIncome",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_OperatingOrFinanceLeasesCapitalized": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating or finance leases capitalized.",
        "label": "Operating or Finance Leases Capitalized",
        "terseLabel": "Operating or finance leases capitalized"
       }
      }
     },
     "localname": "OperatingOrFinanceLeasesCapitalized",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_OriginationOfNotesReceivableFromEquityInvestee": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to cash outflow for a loan, supported by a promissory note, granted to related parties, where one party can exercise control or significant influence over another party; excluding affiliates, owners or officers and their immediate families, pension trusts, and so forth.",
        "label": "Origination Of Notes Receivable From Equity Investee",
        "negatedLabel": "Loans to related parties"
       }
      }
     },
     "localname": "OriginationOfNotesReceivableFromEquityInvestee",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_OrionStarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "OrionStar.",
        "label": "Orion Star [Member]",
        "terseLabel": "Beijing OrionStar",
        "verboseLabel": "OrionStar Group"
       }
      }
     },
     "localname": "OrionStarMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_OtherIncomeAndOtherExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other income and other expense.",
        "label": "Other Income And Other Expense [Member]",
        "terseLabel": "Other Income and Other Expense [Member]"
       }
      }
     },
     "localname": "OtherIncomeAndOtherExpenseMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_OtherLiabilitiesNoncurrentTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other liabilities noncurrent table text block.",
        "label": "Other Liabilities Noncurrent [Table Text Block]",
        "terseLabel": "Summary of other non-current liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrentTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_OtherNonOperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other non operating expenses.",
        "label": "Other Non operating Expenses",
        "negatedLabel": "Other expense"
       }
      }
     },
     "localname": "OtherNonOperatingExpenses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_OtherNonoperatingIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Nonoperating Income.",
        "label": "Other Nonoperating Income [Member]"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_OtherOperatingIncomeNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 3.0,
       "parentTag": "cmcm_OperatingExpensesAndOtherOperatingIncome",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other operating income net.",
        "label": "Other Operating Income Net",
        "terseLabel": "Other operating (expenses) income, net"
       }
      }
     },
     "localname": "OtherOperatingIncomeNet",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_OtherRelatedPartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Related Parties [Member]",
        "label": "Other Related Parties [Member]",
        "terseLabel": "Other Related Parties"
       }
      }
     },
     "localname": "OtherRelatedPartiesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_OthersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Others.",
        "label": "Others [Member]",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OthersMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_PayableToOnlineAdvertisingPlatformsAsAgency": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount due to online advertising platforms as an agency.",
        "label": "Payable To Online Advertising Platforms As Agency",
        "terseLabel": "Payable to online advertising platforms as agency"
       }
      }
     },
     "localname": "PayableToOnlineAdvertisingPlatformsAsAgency",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_PaymentOfDividendToCheetahMobileIncShareholders": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payment of dividend to Cheetah Mobile Inc. shareholders.",
        "label": "Payment of dividend to Cheetah Mobile Inc shareholders",
        "negatedLabel": "Payment of dividends to Cheetah Mobile Inc. shareholders"
       }
      }
     },
     "localname": "PaymentOfDividendToCheetahMobileIncShareholders",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_PaymentsToAcquirePropertyPlantAndEquipmentAndIntangibleAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments to acquire property plant and equipment and intangible assets.",
        "label": "Payments to Acquire Property Plant and Equipment and Intangible Assets",
        "negatedLabel": "Purchases of property, plant and equipment and intangible assets"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipmentAndIntangibleAssets",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_PercentOfDecreaseInFairValueInvestment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent of decrease in fair value investment.",
        "label": "Percent Of Decrease In Fair Value Investment",
        "terseLabel": "Percent of decrease in fair value investment"
       }
      }
     },
     "localname": "PercentOfDecreaseInFairValueInvestment",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PercentOfIncreaseInFairValueInvestment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percent of increase in fair value investment.",
        "label": "Percent Of Increase In Fair Value Investment",
        "terseLabel": "Percent of increase in fair value investment"
       }
      }
     },
     "localname": "PercentOfIncreaseInFairValueInvestment",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PercentageOfAfterTaxProfitAllocatedToGeneralReserveFunds": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the percentage of after-tax profit to be allocated towards the general reserve fund in accordance with the PRC Regulations on Enterprises with Foreign Investment and their articles of association.",
        "label": "Percentage Of After Tax Profit Allocated To General Reserve Funds",
        "terseLabel": "Allocations to general reserve as a percentage of profit after tax"
       }
      }
     },
     "localname": "PercentageOfAfterTaxProfitAllocatedToGeneralReserveFunds",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PercentageOfAfterTaxProfitAllocatedToStatutoryCommonReserve": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the percentage of after-tax profit to be allocated towards the statutory common reserve in accordance with the Company Law of the PRC.",
        "label": "Percentage Of After Tax Profit Allocated To Statutory Common Reserve",
        "terseLabel": "Appropriation to statutory common reserve"
       }
      }
     },
     "localname": "PercentageOfAfterTaxProfitAllocatedToStatutoryCommonReserve",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PercentageOfCargDecreasesIncreaseInFairValueOfTheInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of CARG decreases, increase in fair value of the investments.",
        "label": "Percentage of CARG Decreases, Increase in Fair Value of the Investments",
        "verboseLabel": "Percentage of CARG decreases/increase in fair value of the investments"
       }
      }
     },
     "localname": "PercentageOfCargDecreasesIncreaseInFairValueOfTheInvestments",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PercentageOfCargmIncreasesDecreaseInFairValueOfTheInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage Of Cargm Increases decrease In Fair Value Of The Investments.",
        "label": "Percentage Of Cargm Increases decrease In Fair Value Of The Investments",
        "terseLabel": "Percentage of CARG increase/decrease in fair value of the investments"
       }
      }
     },
     "localname": "PercentageOfCargmIncreasesDecreaseInFairValueOfTheInvestments",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PercentageOfCashAndCashEquivalentsAndShortTermInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents percentage of cash and cash equivalents and short term investments.",
        "label": "Percentage Of Cash And Cash Equivalents And Short Term Investments",
        "terseLabel": "Cash and cash equivalents, restricted cash and short-term investments held percentage"
       }
      }
     },
     "localname": "PercentageOfCashAndCashEquivalentsAndShortTermInvestments",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PercentageOfDlomDecreasesincreaseInFairValueOfTheInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of DLOM decreases,increase in fair value of the investments.",
        "label": "Percentage of DLOM Decreases,Increase in Fair Value of The Investments",
        "verboseLabel": "Percentage of DLOM decreases/increase in fair value of the investments"
       }
      }
     },
     "localname": "PercentageOfDlomDecreasesincreaseInFairValueOfTheInvestments",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PercentageOfDlomIncreasesdecreaseInFairValueOfTheInvestments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of DLOM increases,decrease in fair value of the investments.",
        "label": "Percentage of DLOM Increases,Decrease in Fair Value of The Investments",
        "verboseLabel": "Percentage of DLOM increases/decrease in fair value of the investments"
       }
      }
     },
     "localname": "PercentageOfDlomIncreasesdecreaseInFairValueOfTheInvestments",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_PeriodOfNoticeForTerminationBeforeExpiration": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the notice period for termination of agreement to be provided with in expiration.",
        "label": "Period Of Notice For Termination Before Expiration",
        "terseLabel": "Period of notice to terminate the agreement"
       }
      }
     },
     "localname": "PeriodOfNoticeForTerminationBeforeExpiration",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "cmcm_PixiuGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Pixiu Group [Member]",
        "label": "Pixiu Group [Member]",
        "terseLabel": "Pixiu Group"
       }
      }
     },
     "localname": "PixiuGroupMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_PlatformMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to platform member.",
        "label": "Platform [Member]",
        "terseLabel": "Platform",
        "verboseLabel": "Platform [Member]"
       }
      }
     },
     "localname": "PlatformMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for prepayments and other current assets.",
        "label": "Prepayments And Other Assets Current Disclosure [Text Block]",
        "terseLabel": "Prepayments and Other Current Assets, Net"
       }
      }
     },
     "localname": "PrepaymentsAndOtherAssetsCurrentDisclosureTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_PrepaymentsAndOtherCurrentAssetsAllowanceForCreditLossTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Prepayments and other current assets allowance for credit loss.",
        "label": "Prepayments And Other Current Assets Allowance For Credit Loss [Table Text Block]",
        "terseLabel": "Schedule of movement in the allowance for credit losses"
       }
      }
     },
     "localname": "PrepaymentsAndOtherCurrentAssetsAllowanceForCreditLossTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ProceedsFromDisposalOfBusinessesAndStockInVariableInterestEntitiesSubsidiary": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "proceeds from disposal of businesses and stock in variable interest entities subsidiary.",
        "label": "Proceeds From Disposal Of Businesses And Stock In Variable Interest Entities Subsidiary",
        "terseLabel": "Proceeds from disposal of businesses and subsidiaries/VIE's subsidiaries, net of cash acquired"
       }
      }
     },
     "localname": "ProceedsFromDisposalOfBusinessesAndStockInVariableInterestEntitiesSubsidiary",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_PurchaseObligationDueAfterThirdYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase obligation due after third year.",
        "label": "Purchase Obligation Due After Third Year",
        "verboseLabel": "More than 3 Years"
       }
      }
     },
     "localname": "PurchaseObligationDueAfterThirdYear",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingenciesSummaryOfCommitmentForCloudServicesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_PurchaseOfProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase of Products [Member]",
        "terseLabel": "Purchase of products"
       }
      }
     },
     "localname": "PurchaseOfProductsMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ReceivableFromThirdPartyPaymentPlatformCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to receivable from third party payment platform, which are usually due within 1 year (or 1 business cycle).",
        "label": "Receivable From Third Party Payment Platform Current",
        "terseLabel": "Receivable from third-party payment platform"
       }
      }
     },
     "localname": "ReceivableFromThirdPartyPaymentPlatformCurrent",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_ReceivablesImpairmentCharges": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The impairment charge against earnings resulting from the write down of receivables due to the difference between the carrying value and lower fair value.",
        "label": "Receivables Impairment Charges",
        "terseLabel": "Provision for credit losses"
       }
      }
     },
     "localname": "ReceivablesImpairmentCharges",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_RemeasurementLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remeasurement loss.",
        "label": "Remeasurement Loss",
        "terseLabel": "Remeasurement loss"
       }
      }
     },
     "localname": "RemeasurementLoss",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_RepaymentOfLoansFromRelatedParties": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayment of loans from related parties.",
        "label": "Repayment Of Loans From Related Parties",
        "terseLabel": "Repayment of loans from related parties"
       }
      }
     },
     "localname": "RepaymentOfLoansFromRelatedParties",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_ResearchAndDevelopment": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 0.0,
       "parentTag": "cmcm_OperatingExpensesAndOtherOperatingIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee costs related to personnel involved in the development and enhancement of the Group's service offerings on its websites.",
        "label": "Research And Development",
        "negatedLabel": "Research and development"
       }
      }
     },
     "localname": "ResearchAndDevelopment",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_ResearchAndDevelopmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing research and development expenses.",
        "label": "Research And Development [Member]",
        "terseLabel": "Research and development"
       }
      }
     },
     "localname": "ResearchAndDevelopmentMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ReservedSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to reserved shares.",
        "label": "Reserved Shares [Member]",
        "terseLabel": "Reserved Shares"
       }
      }
     },
     "localname": "ReservedSharesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_RestOfWorldMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to the rest of the world other than the PRC, United States and Ireland.",
        "label": "Rest of World [Member]",
        "terseLabel": "Rest of the world"
       }
      }
     },
     "localname": "RestOfWorldMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_RestrictedSharePlan2014Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information related to restricted share award plan.",
        "label": "Restricted Share Plan 2014 [Member]",
        "terseLabel": "2014 Restricted Share Plan"
       }
      }
     },
     "localname": "RestrictedSharePlan2014Member",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_RestrictedSharesWithOptionFeatureMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents restricted shares with option feature in a share-based compensation plan.",
        "label": "Restricted Shares With Option Feature [Member]",
        "terseLabel": "Restricted shares with an option feature"
       }
      }
     },
     "localname": "RestrictedSharesWithOptionFeatureMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_RevenueRecognitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue Recognition [Line Items]",
        "label": "Revenue Recognition [Line Items]",
        "terseLabel": "Revenue Recognition [Line Items]"
       }
      }
     },
     "localname": "RevenueRecognitionLineItems",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_RevenueRecognitionTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue Recognition [Table]",
        "label": "Revenue Recognition [Table]",
        "terseLabel": "Revenue Recognition [Table]"
       }
      }
     },
     "localname": "RevenueRecognitionTable",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_RightOfUseAssetAndOthers": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 1.0,
       "parentTag": "cmcm_DeferredTaxLiabilityGrossNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right-of-use asset and others.",
        "label": "Right Of Use Asset And Others",
        "terseLabel": "Right-of-use asset and others"
       }
      }
     },
     "localname": "RightOfUseAssetAndOthers",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_RightOfUseAssetsObtainedReleasedInExchangeForOperatingLeaseLiabilitiesNonCash": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Right-of-use assets obtained (released) in exchange for operating lease liabilities non-cash.",
        "label": "Right of Use Assets Obtained Released In Exchange For Operating Lease Liabilities Non Cash",
        "terseLabel": "Right-of-use assets (released) obtained in exchange for operating lease liabilities-Non-cash"
       }
      }
     },
     "localname": "RightOfUseAssetsObtainedReleasedInExchangeForOperatingLeaseLiabilitiesNonCash",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_SaleOfAiHardwareProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale of AI Hardware Products [Member]",
        "terseLabel": "Sale of AI hardware products"
       }
      }
     },
     "localname": "SaleOfAiHardwareProductsMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesCurrentTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accrued liabilities and other current liabilities.",
        "label": "Schedule Of Accrued Liabilities And Other Liabilities Current Table [Text Block]",
        "terseLabel": "Schedule of accrued expenses and other current liabilities"
       }
      }
     },
     "localname": "ScheduleOfAccruedLiabilitiesAndOtherLiabilitiesCurrentTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ScheduleOfIntangibleAssetsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of intangible assets, which includes but not limited to gross carry value, accumulated amortization and net carrying value.",
        "label": "Schedule Of Intangible Assets [Table Text Block]",
        "terseLabel": "Schedule of intangible assets and accumulated amortization"
       }
      }
     },
     "localname": "ScheduleOfIntangibleAssetsTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ScheduleOfIntangibleAssetsUsefulLifeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the useful life of assets lacking physical substance.",
        "label": "Schedule Of Intangible Assets Useful Life Table [Text Block]",
        "terseLabel": "Schedule of estimated useful lives of intangible assets"
       }
      }
     },
     "localname": "ScheduleOfIntangibleAssetsUsefulLifeTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ScheduleOfPropertyPlantAndEquipmentUsefulLifeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the useful life of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
        "label": "Schedule Of Property Plant And Equipment Useful Life Table [Text Block]",
        "terseLabel": "Schedule of estimated useful lives of property and equipment"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentUsefulLifeTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ScheduleOfRetainedEarningsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of retain earnings.",
        "label": "Schedule Of Retained Earnings Table [Text Block]",
        "terseLabel": "Schedule of retained earnings"
       }
      }
     },
     "localname": "ScheduleOfRetainedEarningsTableTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardOfSubsidiariesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award Of Subsidiaries [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardOfSubsidiariesTable",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_ScheduleOfVariableInterestEntitiesFinancialPerformanceAndCashFlowsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular presentation of the financial performance and cash flows of the VIEs.",
        "label": "Schedule Of Variable Interest Entities Financial Performance And Cash Flows [Text Block]",
        "terseLabel": "Schedule of financial performance and cash flows of the VIEs and subsidiaries of VIEs"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesFinancialPerformanceAndCashFlowsTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_SellingAndMarketingExpensesPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for selling and marketing costs. For those costs that cannot be capitalized, discloses whether such costs are expensed as incurred or the first period in which the selling and marketing expenses takes place. For direct response selling and marketing costs that are capitalized, describes those assets and the accounting policy used, including a description of the qualifying activity, the types of costs capitalized and the related amortization period.",
        "label": "Selling And Marketing Expenses Policy [Text Block]",
        "terseLabel": "Selling and marketing expenses"
       }
      }
     },
     "localname": "SellingAndMarketingExpensesPolicyTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_SellingBusinessAndProvidingLoans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Selling business and providing loans.",
        "label": "Selling Business and Providing Loans",
        "terseLabel": "Selling business and providing loans"
       }
      }
     },
     "localname": "SellingBusinessAndProvidingLoans",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_SellingBusinessToMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Selling business to [Member]",
        "terseLabel": "Selling business to"
       }
      }
     },
     "localname": "SellingBusinessToMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_SensitivityAnalysisOfTheInvestmentInEquityInvestmentDecreaseInEbitMargin": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sensitivity Analysis Of The Investment In Equity Investment Decrease In EBIT Margin.",
        "label": "Sensitivity Analysis Of The Investment In Equity Investment Decrease In EBIT Margin",
        "terseLabel": "Sensitivity analysis of the investment in equity investment decrease in EBIT margin"
       }
      }
     },
     "localname": "SensitivityAnalysisOfTheInvestmentInEquityInvestmentDecreaseInEbitMargin",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_SensitivityAnalysisOfTheInvestmentInEquityInvestmentDecreaseInVolatility": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sensitivity analysis of the investment in equity investment decrease in Volatility.",
        "label": "Sensitivity Analysis Of The Investment In Equity Investment Decrease In Volatility",
        "terseLabel": "Sensitivity analysis of the investment in equity investment decrease in volatility"
       }
      }
     },
     "localname": "SensitivityAnalysisOfTheInvestmentInEquityInvestmentDecreaseInVolatility",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_SensitivityAnalysisOfTheInvestmentInEquityInvestmentDecreaseInWacc": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sensitivity Analysis Of The Investment In Equity Investment Decrease In WACC.",
        "label": "Sensitivity Analysis Of The Investment In Equity Investment Decrease In WACC",
        "terseLabel": "Sensitivity analysis of the investment in equity investment decrease WACC"
       }
      }
     },
     "localname": "SensitivityAnalysisOfTheInvestmentInEquityInvestmentDecreaseInWacc",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_SensitivityAnalysisOfTheInvestmentInEquityInvestmentIncreaseInEbitMargin": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sensitivity Analysis Of The Investment In Equity Investment Increase In EBIT Margin.",
        "label": "Sensitivity Analysis Of The Investment In Equity Investment Increase In EBIT Margin",
        "terseLabel": "Sensitivity analysis of the investment in equity investment increase in EBIT margin"
       }
      }
     },
     "localname": "SensitivityAnalysisOfTheInvestmentInEquityInvestmentIncreaseInEbitMargin",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_SensitivityAnalysisOfTheInvestmentInEquityInvestmentIncreaseInVolatility": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sensitivity analysis of the investment in equity investment increase in Volatility.",
        "label": "Sensitivity Analysis Of The Investment In Equity Investment Increase In Volatility",
        "terseLabel": "Sensitivity analysis of the investment in equity investment increase Volatility"
       }
      }
     },
     "localname": "SensitivityAnalysisOfTheInvestmentInEquityInvestmentIncreaseInVolatility",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_SensitivityAnalysisOfTheInvestmentInEquityInvestmentIncreaseInWacc": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sensitivity Analysis Of The Investment In Equity Investment Increase In WACC.",
        "label": "Sensitivity Analysis Of The Investment In Equity Investment Increase In WACC",
        "terseLabel": "Sensitivity analysis of the investment in equity investment increase WACC"
       }
      }
     },
     "localname": "SensitivityAnalysisOfTheInvestmentInEquityInvestmentIncreaseInWacc",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_ServicesProvidedToMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Services provided to",
        "label": "Services Provided To [Member]",
        "terseLabel": "Services provided to"
       }
      }
     },
     "localname": "ServicesProvidedToMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ServicesReceivedFromMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Services received from",
        "label": "Services Received From [Member]",
        "terseLabel": "Services received from"
       }
      }
     },
     "localname": "ServicesReceivedFromMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ShareAwardScheme2011Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information 2011 Share award scheme",
        "label": "Share Award Scheme 2011 [Member]",
        "terseLabel": "2011 Share Award Scheme"
       }
      }
     },
     "localname": "ShareAwardScheme2011Member",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisesWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock options that were exercised.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Exercises Weighted Average Grant Date Fair Value",
        "terseLabel": "Exercised (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisesWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock options that were forfeited.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Forfeited Weighted Average Grant Date Fair Value",
        "terseLabel": "Forfeited (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options grant in period weighted average grant date fair value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Grant In Period Weighted Average Grant Date Fair Value",
        "verboseLabel": "Granted (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsModifiedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options modified in period weighted average grant date fair value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Modified In Period Weighted Average Grant Date Fair Value",
        "terseLabel": "Unvested at end of year Modified (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsModifiedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsModifiedNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options modified number.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Modified Number",
        "terseLabel": "Unvested Modified"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsModifiedNumber",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsModifiedWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options modified weighted average grant date fair value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Modified Weighted Average Grant Date Fair Value",
        "terseLabel": "Outstanding at end of year Modified (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsModifiedWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value of outstanding awards on share incentive plans.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Outstanding Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Outstanding at end of year (in dollars per share)",
        "periodStartLabel": "Outstanding at beginning of year (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExerciseMultiple": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The measurement of exercise multiple used as an input to measure fair value of the option.",
        "label": "Share based Compensation Arrangement by Share based Payment Award, Fair Value Assumptions, Exercise Multiple",
        "terseLabel": "Expected exercise multiple"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExerciseMultiple",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "pureItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstruments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award non option equity instruments modified.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments",
        "terseLabel": "Unvested Modified"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstruments",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsModified": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award non option equity instruments modified.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Non Option Equity Instruments Modified",
        "negatedLabel": "Outstanding Modified"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsModified",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanExercisableNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of awards other than share options (fully vested and expected to vest) that may be exercised as of the balance sheet date.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Other Than Exercisable Number",
        "terseLabel": "Exercisable",
        "verboseLabel": "Exercisable | shares"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanExercisableNumber",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsExercisedInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price of awards other than options that were either exercised during the period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Other Than Options Exercised In Period Weighted Average Exercise Price",
        "terseLabel": "Exercised (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsExercisedInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price of awards other than options that were either forfeited.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Other Than Options Forfeitures In Period Weighted Average Exercise Price",
        "terseLabel": "Forfeited (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsModifiedInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award other than options modified in period weighted average exercise price.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Other Than Options Modified In Period Weighted Average Exercise Price",
        "terseLabel": "Outstanding at the end of the year Modified (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsModifiedInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock share based compensation plan outstanding at reporting date.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Other Than Options Outstanding Weighted Average Exercise Price",
        "periodEndLabel": "Outstanding at the end of the year (in dollars per share)",
        "periodStartLabel": "Outstanding at the beginning of the year (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsOutstandingWeightedAverageExercisePriceAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Other Than Options Outstanding Weighted Average Exercise Price [Abstract]",
        "terseLabel": "Weighted Average Exercise Price"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsOutstandingWeightedAverageExercisePriceAbstract",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsVestedAndExpectedToVestOutstandingNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "As of the balance sheet date, the number of awards other than stock options which fully vested and expected to vest under share-based compensation plan.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Other Than Options Vested And Expected To Vest Outstanding Number",
        "terseLabel": "Vested and expected to vest at end of year",
        "verboseLabel": "Vested and expected to vest at end of year | shares"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsVestedAndExpectedToVestOutstandingNumber",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOtherThanOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock share based compensation plan.",
        "label": "Share Based Compensation Arrangements By Share Based Payment Award Other Than Options Grants In Period Weighted Average Exercise Price",
        "terseLabel": "Granted (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOtherThanOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "cmcm_ShareholderVotingProxyAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to shareholder voting proxy agreements.",
        "label": "Shareholder Voting Proxy Agreements [Member]",
        "terseLabel": "Shareholder voting proxy agreements"
       }
      }
     },
     "localname": "ShareholderVotingProxyAgreementsMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_SharesConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conversion ratio of American Depositary Share (ADS) to Class A ordinary share.",
        "label": "Shares Conversion Ratio",
        "terseLabel": "Conversion ratio, ADS to Class A ordinary share"
       }
      }
     },
     "localname": "SharesConversionRatio",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical"
     ],
     "xbrltype": "pureItemType"
    },
    "cmcm_ShenzhenFeipaiMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shenzhen Feipai [Member]",
        "label": "Shenzhen Feipai [Member]",
        "terseLabel": "Shenzhen Feipai"
       }
      }
     },
     "localname": "ShenzhenFeipaiMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_SignificantAccountingPoliciesRevenueRecognitionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Significant Accounting Policies Revenue Recognition [Abstract]",
        "label": "Significant Accounting Policies Revenue Recognition [Abstract]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesRevenueRecognitionAbstract",
     "nsuri": "http://www.cmcm.com/20221231",
     "xbrltype": "stringItemType"
    },
    "cmcm_StatusForTaxabilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to various tax status.",
        "label": "Status For Taxability [Axis]",
        "terseLabel": "Status For Taxability [Axis]"
       }
      }
     },
     "localname": "StatusForTaxabilityAxis",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_StatusForTaxabilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents various tax status.",
        "label": "Status For Taxability [Domain]",
        "terseLabel": "Status For Taxability [Domain]"
       }
      }
     },
     "localname": "StatusForTaxabilityDomain",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_StockIssuedDuringPeriodSharesExerciseAndVestingOfShareBasedAwardsIncludingSubsidiariesAwards": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period shares exercise and vesting of share based awards including subsidiaries awards.",
        "label": "Stock Issued During Period Shares Exercise And Vesting Of Share Based Awards Including Subsidiaries Awards",
        "terseLabel": "Exercise and vesting of share-based awards, including subsidiaries' awards , shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesExerciseAndVestingOfShareBasedAwardsIncludingSubsidiariesAwards",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "cmcm_StockIssuedDuringPeriodValueExerciseAndVestingOfShareBasedAwardsIncludingSubsidiariesAwards": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock issued during period value exercise and vesting of share based awards including subsidiaries awards.",
        "label": "Stock Issued During Period Value Exercise And Vesting Of Share Based Awards Including Subsidiaries Awards",
        "terseLabel": "Exercise and vesting of share-based awards, including subsidiaries' awards"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueExerciseAndVestingOfShareBasedAwardsIncludingSubsidiariesAwards",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_TaxableLosses": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Taxable Losses",
        "label": "Taxable Losses",
        "terseLabel": "Taxable losses"
       }
      }
     },
     "localname": "TaxableLosses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_TechnicalConsultingAndOtherServicesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Technical Consulting And Other Services [Member]",
        "terseLabel": "Technical consulting service and others"
       }
      }
     },
     "localname": "TechnicalConsultingAndOtherServicesMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_TechnologyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Technology acquired or owned by the entity.",
        "label": "Technology [Member]",
        "terseLabel": "Technology",
        "verboseLabel": "Technology [Member]"
       }
      }
     },
     "localname": "TechnologyMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_TencentGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tencent Group",
        "label": "Tencent Group [Member]",
        "terseLabel": "Tencent Group"
       }
      }
     },
     "localname": "TencentGroupMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_TermOfBusinessOperationAgreement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the term of business operation agreement.",
        "label": "Term Of Business Operation Agreement",
        "terseLabel": "Term of business operation agreement"
       }
      }
     },
     "localname": "TermOfBusinessOperationAgreement",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "cmcm_ThirdPartyAdvertisingAgentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Third-party advertising agents.",
        "label": "Third Party Advertising Agents [Member]",
        "terseLabel": "Third-party advertising agents"
       }
      }
     },
     "localname": "ThirdPartyAdvertisingAgentsMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ThresholdPercentageOfGeneralReserveRequiredToBeMaintained": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the threshold percentage of general reserve required to be maintained in accordance with the PRC Regulations on Enterprises with Foreign Investment and their articles of association.",
        "label": "Threshold Percentage Of General Reserve Required To Be Maintained",
        "terseLabel": "Threshold percentage of general reserve required to be maintained threshold percentage of general reserve required to be maintained"
       }
      }
     },
     "localname": "ThresholdPercentageOfGeneralReserveRequiredToBeMaintained",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_ThresholdPercentageOfStatutoryCommonReserveRequiredToBeMaintained": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the threshold percentage of statutory common reserve required to be maintained in accordance with the Company Law of the PRC.",
        "label": "Threshold Percentage Of Statutory Common Reserve Required To Be Maintained",
        "terseLabel": "Threshold percentage of statutory common reserve required to be maintained"
       }
      }
     },
     "localname": "ThresholdPercentageOfStatutoryCommonReserveRequiredToBeMaintained",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_TotalLossesGainsEquityInvestmentsAccountedForUsingTheMeasurementAlternative": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total (losses) gains,Equity investments accounted for using the measurement alternative.",
        "label": "Total Losses Gains Equity Investments Accounted For Using The Measurement Alternative",
        "negatedLabel": "Total (losses) gains,Equity investments accounted for using the measurement alternative"
       }
      }
     },
     "localname": "TotalLossesGainsEquityInvestmentsAccountedForUsingTheMeasurementAlternative",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_TreasuryStockPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its treasury stock.",
        "label": "Treasury Stock [Policy Text Block]",
        "terseLabel": "Treasury stock"
       }
      }
     },
     "localname": "TreasuryStockPolicyTextBlock",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "cmcm_TwoThousandAndTwentyThreeIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two thousand and twenty three incentive plan.",
        "label": "Two Thousand and Twenty Three Incentive Plan Member",
        "terseLabel": "2023 Incentive Plan [Member]"
       }
      }
     },
     "localname": "TwoThousandAndTwentyThreeIncentivePlanMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_UnallocatedExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unallocated Expenses",
        "label": "Unallocated Expenses",
        "negatedLabel": "Unallocated expenses"
       }
      }
     },
     "localname": "UnallocatedExpenses",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_UnrecognizedTaxBenefitsIncreasesDecreasesResultingFromPriorPeriodTaxPositions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unrecognized tax benefits increases decreases resulting from prior period tax positions.",
        "label": "Unrecognized Tax Benefits Increases Decreases Resulting From Prior Period Tax Positions",
        "terseLabel": "Reversal based on tax positions related to prior years"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncreasesDecreasesResultingFromPriorPeriodTaxPositions",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_UnrecognizedTaxBenefitsNetAgainstTaxLossCarryforwards": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits pertaining to uncertain tax positions taken in tax returns net against deferred tax assets related to tax loss carryforwards.",
        "label": "Unrecognized Tax Benefits Net Against Tax Loss Carryforwards",
        "terseLabel": "Unrecognized tax benefit net against deferred tax loss carryforwards"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsNetAgainstTaxLossCarryforwards",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_UnrecognizedTaxBenefitsNetConsolidatedBalanceSheet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of unrecognized tax benefits presented in the other non-current liabilities line item in the consolidated balance sheets.",
        "label": "Unrecognized Tax Benefits Net Consolidated Balance Sheet",
        "terseLabel": "Unrecognized tax benefit presented in the other non-current liabilities line item"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsNetConsolidatedBalanceSheet",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_UserBaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information About User Base.",
        "label": "User Base [Member]",
        "terseLabel": "User base",
        "verboseLabel": "User base [Member]"
       }
      }
     },
     "localname": "UserBaseMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ValuationTechniqueBlackScholesMethodMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation technique black scholes method",
        "label": "Valuation Technique Black Scholes Method [Member]"
       }
      }
     },
     "localname": "ValuationTechniqueBlackScholesMethodMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_VariableInterestEntityPrimaryBeneficiaryAggregatedDisclosureNonRecourseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Variable Interest Entity Primary Beneficiary Aggregated Disclosure Nonrecourse",
        "label": "Variable Interest Entity Primary Beneficiary Aggregated Disclosure Non Recourse [Member]",
        "terseLabel": "Variable Interest Entity Primary Beneficiary Aggregated Disclosure Non-recourse [Member]"
       }
      }
     },
     "localname": "VariableInterestEntityPrimaryBeneficiaryAggregatedDisclosureNonRecourseMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_VolatilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Volatility.",
        "label": "Volatility [Member]",
        "terseLabel": "Volatility [member]"
       }
      }
     },
     "localname": "VolatilityMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_WaccMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "WACC.",
        "label": "WACC [Member]"
       }
      }
     },
     "localname": "WaccMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_WealthManagementProducts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wealth management products.",
        "label": "Wealth management products",
        "terseLabel": "Wealth management products"
       }
      }
     },
     "localname": "WealthManagementProducts",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "cmcm_WeightedAverageNumberBasicAndDilutedSharesOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted Average Number Basic And Diluted, Shares Outstanding [Abstract]",
        "label": "Weighted Average Number Basic And Diluted, Shares Outstanding [Abstract]",
        "terseLabel": "Weighted average number of shares used in computation of ordinary shares:"
       }
      }
     },
     "localname": "WeightedAverageNumberBasicAndDilutedSharesOutstandingAbstract",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "cmcm_WeightedAverageNumberOfSharesOutstandingBasicAndDilutedProformaAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted Average Number Of Shares Outstanding Basic And Diluted Proforma [Abstract]",
        "label": "Weighted Average Number Of Shares Outstanding Basic And Diluted Proforma [Abstract]"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasicAndDilutedProformaAbstract",
     "nsuri": "http://www.cmcm.com/20221231",
     "xbrltype": "stringItemType"
    },
    "cmcm_WithholdingIncomeTaxRateForDividendPaidToForeignTaxResidentInvestors": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the withholding income tax rate for dividend paid to foreign tax resident investors.",
        "label": "Withholding Income Tax Rate For Dividend Paid To Foreign Tax Resident Investors",
        "terseLabel": "Withholding income tax rate for dividend paid to foreign tax resident investors (as a percent)"
       }
      }
     },
     "localname": "WithholdingIncomeTaxRateForDividendPaidToForeignTaxResidentInvestors",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_WithholdingIncomeTaxRateOnDividendsDistributedByForeignInvestedEnterprise": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Withholding income tax rate on dividends distributed by foreign invested enterprise.",
        "label": "Withholding income tax rate on dividends distributed by foreign invested enterprise.",
        "terseLabel": "Withholding tax, reduction"
       }
      }
     },
     "localname": "WithholdingIncomeTaxRateOnDividendsDistributedByForeignInvestedEnterprise",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "cmcm_ZhuHaiHengQinNewAreaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zhu Hai Heng Qin New Area.",
        "label": "Zhu Hai Heng Qin New Area [Member]",
        "terseLabel": "Zhu Hai Heng Qin New Area"
       }
      }
     },
     "localname": "ZhuHaiHengQinNewAreaMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ZhuhaiBaoquTechnologyCoLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Zhuhai Baoqu Technology Co., Ltd",
        "label": "Zhuhai Baoqu Technology Co Ltd [Member]",
        "terseLabel": "Zhuhai Baoqu Technology"
       }
      }
     },
     "localname": "ZhuhaiBaoquTechnologyCoLtdMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_ZiniuFundLpMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ziniu Fund LP",
        "label": "Ziniu Fund LP [Member]",
        "terseLabel": "Ziniu Fund L.P."
       }
      }
     },
     "localname": "ZiniuFundLpMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "cmcm_copyOfTechnologyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A symbol, word, or words legally registered or established by use as representing a company or product.",
        "label": "copy Of Technology [Member]",
        "terseLabel": "Trademarks",
        "verboseLabel": "Trademarks [Member]"
       }
      }
     },
     "localname": "copyOfTechnologyMember",
     "nsuri": "http://www.cmcm.com/20221231",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_CN": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CHINA",
        "terseLabel": "PRC"
       }
      }
     },
     "localname": "CN",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_HK": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "HONG KONG",
        "terseLabel": "HONG KONG",
        "verboseLabel": "HongKong"
       }
      }
     },
     "localname": "HK",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_JP": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "JAPAN",
        "terseLabel": "Japan"
       }
      }
     },
     "localname": "JP",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_SG": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SINGAPORE"
       }
      }
     },
     "localname": "SG",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_US": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED STATES",
        "terseLabel": "United States"
       }
      }
     },
     "localname": "US",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AdrMember": {
     "auth_ref": [
      "r963"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "American Depositary Receipt (or American Depositary Share, ADS).",
        "label": "ADR [Member]",
        "verboseLabel": "American Depositary Shares [Member]"
       }
      }
     },
     "localname": "AdrMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r964",
      "r965",
      "r966"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r964",
      "r965",
      "r966"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r964",
      "r965",
      "r966"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r965",
      "r966"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CountryRegion": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Region code of country",
        "label": "Country Region"
       }
      }
     },
     "localname": "CountryRegion",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAccountingStandard": {
     "auth_ref": [
      "r965"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The basis of accounting the registrant has used to prepare the financial statements included in this filing This can either be 'U.S. GAAP', 'International Financial Reporting Standards', or 'Other'.",
        "label": "Document Accounting Standard",
        "terseLabel": "Document Accounting Standard"
       }
      }
     },
     "localname": "DocumentAccountingStandard",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "accountingStandardItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r964",
      "r965",
      "r966"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r959"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement",
        "terseLabel": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentShellCompanyReport": {
     "auth_ref": [
      "r965"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true for a Shell Company Report pursuant to section 13 or 15(d) of the Exchange Act.",
        "label": "Document Shell Company Report",
        "terseLabel": "Document Shell Company Report"
       }
      }
     },
     "localname": "DocumentShellCompanyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r967"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two",
        "terseLabel": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine3": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 3 such as an Office Park",
        "label": "Entity Address, Address Line Three"
       }
      }
     },
     "localname": "EntityAddressAddressLine3",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCountry": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ISO 3166-1 alpha-2 country code.",
        "label": "Entity Address, Country",
        "terseLabel": "Entity Address, Country"
       }
      }
     },
     "localname": "EntityAddressCountry",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "countryCodeItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r961"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]",
        "terseLabel": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNet",
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilities",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidations",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShare",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareTables",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNet",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefit",
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefitAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurement",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformation",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxes",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNet",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/Lease",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseTables",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivities",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNet",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactions",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformation",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityTables",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r961"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Securities Act File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r961"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r968"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r961"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r961"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r969"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r964",
      "r965",
      "r966"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]",
        "terseLabel": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNet",
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilities",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidations",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShare",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareTables",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNet",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefit",
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefitAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurement",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformation",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxes",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNet",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/Lease",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseTables",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivities",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNet",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactions",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformation",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityTables",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_NoTradingSymbolFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a security having no trading symbol.",
        "label": "No Trading Symbol Flag"
       }
      }
     },
     "localname": "NoTradingSymbolFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "trueItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r960"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r962"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Financial Information Disclosure [Abstract]"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract",
     "nsuri": "http://fasb.org/srt/2022",
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r322",
      "r679",
      "r680",
      "r683",
      "r684",
      "r764",
      "r887",
      "r893",
      "r1018",
      "r1021",
      "r1022",
      "r1088",
      "r1091",
      "r1092"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by consolidated entity or group of entities.",
        "label": "Consolidated Entities [Axis]",
        "terseLabel": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r322",
      "r679",
      "r680",
      "r683",
      "r684",
      "r764",
      "r887",
      "r893",
      "r1018",
      "r1021",
      "r1022",
      "r1088",
      "r1091",
      "r1092"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity or group of entities consolidated into reporting entity.",
        "label": "Consolidated Entities [Domain]",
        "terseLabel": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidatedEntityExcludingVariableInterestEntitiesVIEMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Consolidated entity excluding consolidated variable interest entity (VIE) for which reporting entity is primary beneficiary.",
        "label": "Consolidated Entity, Excluding Consolidated VIE [Member]",
        "terseLabel": "Consolidated Entity Excluding Variable Interest Entities (VIE) [Member]"
       }
      }
     },
     "localname": "ConsolidatedEntityExcludingVariableInterestEntitiesVIEMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ConsolidationItemsAxis": {
     "auth_ref": [
      "r322",
      "r378",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r402",
      "r406",
      "r505",
      "r506",
      "r507",
      "r508",
      "r510",
      "r511",
      "r513",
      "r515",
      "r516",
      "r903",
      "r904",
      "r905",
      "r906",
      "r907",
      "r908",
      "r909",
      "r910",
      "r911",
      "r1019",
      "r1020",
      "r1089",
      "r1090"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by components, eliminations, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments.",
        "label": "Consolidation Items [Axis]",
        "terseLabel": "Consolidation Items [Axis]"
       }
      }
     },
     "localname": "ConsolidationItemsAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidationItemsDomain": {
     "auth_ref": [
      "r322",
      "r378",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r402",
      "r406",
      "r505",
      "r506",
      "r507",
      "r508",
      "r510",
      "r511",
      "r513",
      "r515",
      "r516",
      "r903",
      "r904",
      "r905",
      "r906",
      "r907",
      "r908",
      "r909",
      "r910",
      "r911",
      "r1019",
      "r1020",
      "r1089",
      "r1090"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components, elimination, non-segment corporate-level activity and reconciling items used in consolidating a parent entity and its subsidiaries or its operating segments.",
        "label": "Consolidation Items [Domain]",
        "terseLabel": "Consolidation Items [Domain]"
       }
      }
     },
     "localname": "ConsolidationItemsDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r320",
      "r321",
      "r521",
      "r537",
      "r912",
      "r920",
      "r922"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of counterparty. A counterparty is the other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution.",
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name [Axis]"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "auth_ref": [
      "r260",
      "r326",
      "r334",
      "r341",
      "r436",
      "r627",
      "r628",
      "r629",
      "r654",
      "r655",
      "r690",
      "r693",
      "r695",
      "r696",
      "r754"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect, Period of Adoption [Axis]",
        "terseLabel": "Cumulative Effect, Period of Adoption [Axis]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "auth_ref": [
      "r260",
      "r326",
      "r334",
      "r341",
      "r436",
      "r627",
      "r628",
      "r629",
      "r654",
      "r655",
      "r690",
      "r693",
      "r695",
      "r696",
      "r754"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect, Period of Adoption [Domain]",
        "terseLabel": "Cumulative Effect, Period of Adoption [Domain]"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_EquityMethodInvesteeNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of investment including named security. Excludes entity that is consolidated.",
        "label": "Investment, Name [Domain]",
        "terseLabel": "Investment, Name [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvesteeNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r501",
      "r502",
      "r503",
      "r504",
      "r584",
      "r802",
      "r839",
      "r888",
      "r889",
      "r938",
      "r946",
      "r957",
      "r1023",
      "r1070",
      "r1071",
      "r1072",
      "r1073",
      "r1074",
      "r1075"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r501",
      "r502",
      "r503",
      "r504",
      "r584",
      "r802",
      "r839",
      "r888",
      "r889",
      "r938",
      "r946",
      "r957",
      "r1023",
      "r1070",
      "r1071",
      "r1072",
      "r1073",
      "r1074",
      "r1075"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_OwnershipAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of entity in which ownership interest is disclosed. Excludes equity method investee and named security investment.",
        "label": "Ownership [Axis]"
       }
      }
     },
     "localname": "OwnershipAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_OwnershipDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of entity in which ownership interest is disclosed. Excludes equity method investee and named security investment.",
        "label": "Ownership [Domain]"
       }
      }
     },
     "localname": "OwnershipDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ParentCompanyMember": {
     "auth_ref": [
      "r322"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The registrant that controls, directly or indirectly, another entity (or entities). The usual condition for control is ownership of a majority (over 50 percent) of the outstanding voting stock. The power to control may also exist with a lesser percentage of ownership, for example, by contract, lease, agreement with other stockholders or by court decree.",
        "label": "Parent Company [Member]",
        "terseLabel": "Parent Company [Member]"
       }
      }
     },
     "localname": "ParentCompanyMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r408",
      "r804",
      "r939",
      "r955",
      "r1014",
      "r1015",
      "r1024",
      "r1077"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by product and service, or group of similar products and similar services.",
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service [Axis]"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r408",
      "r804",
      "r939",
      "r955",
      "r1014",
      "r1015",
      "r1024",
      "r1077"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product or service, or a group of similar products or similar services.",
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service [Domain]"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r501",
      "r502",
      "r503",
      "r504",
      "r566",
      "r584",
      "r616",
      "r617",
      "r618",
      "r775",
      "r802",
      "r839",
      "r888",
      "r889",
      "r938",
      "r946",
      "r957",
      "r1012",
      "r1023",
      "r1071",
      "r1072",
      "r1073",
      "r1074",
      "r1075"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Range [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r501",
      "r502",
      "r503",
      "r504",
      "r566",
      "r584",
      "r616",
      "r617",
      "r618",
      "r775",
      "r802",
      "r839",
      "r888",
      "r889",
      "r938",
      "r946",
      "r957",
      "r1012",
      "r1023",
      "r1071",
      "r1072",
      "r1073",
      "r1074",
      "r1075"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Range [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [
      "r320",
      "r321",
      "r521",
      "r537",
      "r921",
      "r922"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Named other party that participates in a financial transaction. Examples include, but not limited to, the name of the financial institution.",
        "label": "Counterparty Name [Domain]",
        "terseLabel": "Counterparty Name [Domain]"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RestatementAxis": {
     "auth_ref": [
      "r261",
      "r323",
      "r324",
      "r325",
      "r327",
      "r328",
      "r331",
      "r332",
      "r333",
      "r334",
      "r336",
      "r337",
      "r338",
      "r339",
      "r340",
      "r341",
      "r362",
      "r437",
      "r438",
      "r655",
      "r691",
      "r695",
      "r696",
      "r697",
      "r738",
      "r755",
      "r756",
      "r842",
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period [Axis]",
        "terseLabel": "Restatement [Axis]"
       }
      }
     },
     "localname": "RestatementAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RestatementDomain": {
     "auth_ref": [
      "r261",
      "r323",
      "r324",
      "r325",
      "r327",
      "r328",
      "r331",
      "r332",
      "r333",
      "r334",
      "r336",
      "r337",
      "r338",
      "r339",
      "r340",
      "r341",
      "r362",
      "r437",
      "r438",
      "r655",
      "r691",
      "r695",
      "r696",
      "r697",
      "r738",
      "r755",
      "r756",
      "r842",
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustment to previously issued financial statements. Includes, but is not limited to, adjustment for retrospective application of amendment to accounting standards, other change in accounting principle, correction of error, and other revision.",
        "label": "Revision of Prior Period [Domain]",
        "terseLabel": "Restatement [Domain]"
       }
      }
     },
     "localname": "RestatementDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfCondensedBalanceSheetTableTextBlock": {
     "auth_ref": [
      "r995",
      "r1087"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet [Table Text Block]",
        "terseLabel": "Condensed Balance Sheet"
       }
      }
     },
     "localname": "ScheduleOfCondensedBalanceSheetTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfCondensedCashFlowStatementTableTextBlock": {
     "auth_ref": [
      "r995",
      "r1087"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed cash flow statement, including, but not limited to, cash flow statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Cash Flow Statement [Table Text Block]",
        "terseLabel": "Condensed Cash Flow Statement"
       }
      }
     },
     "localname": "ScheduleOfCondensedCashFlowStatementTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfCondensedIncomeStatementTableTextBlock": {
     "auth_ref": [
      "r995",
      "r1087"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed income statement, including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Income Statement [Table Text Block]",
        "terseLabel": "Condensed Comprehensive Income"
       }
      }
     },
     "localname": "ScheduleOfCondensedIncomeStatementTableTextBlock",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of investment including named security. Excludes entity that is consolidated.",
        "label": "Investment, Name [Axis]",
        "terseLabel": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r409",
      "r410",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r886",
      "r892",
      "r895",
      "r896",
      "r897",
      "r898",
      "r899",
      "r900",
      "r901",
      "r902",
      "r940",
      "r956",
      "r1024"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Geographical area.",
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r409",
      "r410",
      "r870",
      "r878",
      "r879",
      "r880",
      "r881",
      "r882",
      "r883",
      "r884",
      "r885",
      "r886",
      "r892",
      "r894",
      "r940",
      "r956",
      "r1024"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by geographical components.",
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualAxis": {
     "auth_ref": [
      "r1003",
      "r1066"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by title of individual or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Axis]",
        "terseLabel": "Title of Individual [Axis]"
       }
      }
     },
     "localname": "TitleOfIndividualAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_TitleOfIndividualWithRelationshipToEntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of individual, or nature of relationship to individual or group of individuals.",
        "label": "Title of Individual [Domain]",
        "terseLabel": "Title of Individual [Domain]"
       }
      }
     },
     "localname": "TitleOfIndividualWithRelationshipToEntityDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of receivable.",
        "label": "Receivable Type [Axis]"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsNotesLoansAndFinancingReceivableGrossAllowanceAndNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts, Notes, Loans and Financing Receivable, Gross, Allowance, and Net [Abstract]"
       }
      }
     },
     "localname": "AccountsNotesLoansAndFinancingReceivableGrossAllowanceAndNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableCurrent": {
     "auth_ref": [
      "r16",
      "r954"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable, Current",
        "terseLabel": "Accounts payable",
        "totalLabel": "Accounts Payable, Current, Total"
       }
      }
     },
     "localname": "AccountsPayableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock": {
     "auth_ref": [
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allowance for credit loss on accounts receivable.",
        "label": "Accounts Receivable, Allowance for Credit Loss [Table Text Block]",
        "terseLabel": "Schedule of movement in the allowance for credit losses"
       }
      }
     },
     "localname": "AccountsReceivableAllowanceForCreditLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsReceivableGross": {
     "auth_ref": [
      "r280",
      "r414"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_AccountsReceivableNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business.",
        "label": "Accounts Receivable, before Allowance for Credit Loss",
        "terseLabel": "Accounts receivable"
       }
      }
     },
     "localname": "AccountsReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNet": {
     "auth_ref": [
      "r830",
      "r871"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business.",
        "label": "Accounts Receivable, after Allowance for Credit Loss",
        "totalLabel": "Accounts receivable, net"
       }
      }
     },
     "localname": "AccountsReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounts Receivable, after Allowance for Credit Loss [Abstract]"
       }
      }
     },
     "localname": "AccountsReceivableNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r414",
      "r415"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Accounts receivable, net",
        "totalLabel": "Accounts Receivable, after Allowance for Credit Loss, Current, Total",
        "verboseLabel": "Accounts receivable (net of allowance for credit losses of RMB92,695 and RMB102,161 (US$14,812) as of December 31, 2021 and 2022, respectively)"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent": {
     "auth_ref": [
      "r18",
      "r153",
      "r918"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for real and property taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrual for Taxes Other than Income Taxes, Current",
        "terseLabel": "Other taxes payable"
       }
      }
     },
     "localname": "AccrualForTaxesOtherThanIncomeTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedAdvertisingCurrent": {
     "auth_ref": [
      "r18"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 9.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for advertising of the entity's goods and services. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Advertising, Current",
        "terseLabel": "Advance received in advertising agency services"
       }
      }
     },
     "localname": "AccruedAdvertisingCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedIncomeTaxesCurrent": {
     "auth_ref": [
      "r5",
      "r215",
      "r236"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all currently due domestic and foreign income tax obligations.",
        "label": "Accrued Income Taxes, Current",
        "terseLabel": "Income tax payable"
       }
      }
     },
     "localname": "AccruedIncomeTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other.",
        "label": "Accrued Liabilities and Other Liabilities",
        "terseLabel": "Accrued expenses and other current liabilities",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "AccruedLiabilitiesAndOtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesAndOtherLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Liabilities and Other Liabilities [Abstract]"
       }
      }
     },
     "localname": "AccruedLiabilitiesAndOtherLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r118",
      "r273"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "periodEndLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Ending Balance",
        "periodStartLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Beginning Balance",
        "terseLabel": "Less: Accumulated depreciation",
        "totalLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember": {
     "auth_ref": [
      "r31",
      "r36",
      "r177",
      "r299",
      "r981",
      "r982"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated other comprehensive income (loss) resulting from foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature, including the portion attributable to the noncontrolling interest.",
        "label": "Accumulated Foreign Currency Adjustment Including Portion Attributable to Noncontrolling Interest [Member]",
        "terseLabel": "Accumulated Foreign Currency Adjustment Including Portion Attributable to Noncontrolling Interest [Member]"
       }
      }
     },
     "localname": "AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember": {
     "auth_ref": [
      "r289",
      "r290",
      "r291",
      "r293",
      "r299",
      "r981",
      "r982"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), including portion attributable to noncontrolling interest.",
        "label": "AOCI, Accumulated Gain (Loss), Debt Securities, Available-for-Sale, Including Noncontrolling Interest [Member]",
        "terseLabel": "Accumulated Net Investment Gain (Loss) Including Portion Attributable to Noncontrolling Interest [Member]"
       }
      }
     },
     "localname": "AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r33",
      "r35",
      "r36",
      "r283",
      "r831",
      "r847",
      "r851"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "periodEndLabel": "Balance at the end of the period",
        "periodStartLabel": "Balance at the beginning of the period",
        "terseLabel": "Accumulated other comprehensive income",
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r32",
      "r36",
      "r177",
      "r756",
      "r842",
      "r843",
      "r980",
      "r981",
      "r982",
      "r996",
      "r997",
      "r998"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent. Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "AOCI Attributable to Parent [Member]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r9",
      "r954"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "terseLabel": "Additional paid-in capital",
        "totalLabel": "Additional Paid in Capital, Total",
        "verboseLabel": "Paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r627",
      "r628",
      "r629",
      "r996",
      "r997",
      "r998",
      "r1061"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-in Capital [Member]"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r327",
      "r328",
      "r329",
      "r330",
      "r341",
      "r420",
      "r421",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r627",
      "r628",
      "r629",
      "r652",
      "r653",
      "r654",
      "r655",
      "r673",
      "r674",
      "r675",
      "r687",
      "r688",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r732",
      "r733",
      "r735",
      "r736",
      "r737",
      "r738",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r806",
      "r807",
      "r808",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by amendment to accounting standards.",
        "label": "Accounting Standards Update [Axis]",
        "terseLabel": "Adjustments for New Accounting Pronouncements [Axis]"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r151",
      "r152",
      "r587"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition",
        "terseLabel": "Share-based compensation",
        "totalLabel": "APIC, Share-Based Payment Arrangement, Increase for Cost Recognition, Total"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income (loss) to net cash from operating activities"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdvertisingExpense": {
     "auth_ref": [
      "r632"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line.",
        "label": "Advertising Expense",
        "terseLabel": "Advertising and promotional expenses"
       }
      }
     },
     "localname": "AdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllOtherSegmentsMember": {
     "auth_ref": [
      "r374",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating segments classified as other. Excludes intersegment elimination and reconciling items.",
        "label": "Other Segments [Member]",
        "terseLabel": "AI and Others [Member]",
        "verboseLabel": "Al And Other Segments [Member]"
       }
      }
     },
     "localname": "AllOtherSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r621"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-Based Payment Arrangement, Expense",
        "terseLabel": "Share-based compensation expenses"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForCreditLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Allowance for Credit Loss [Abstract]"
       }
      }
     },
     "localname": "AllowanceForCreditLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivable": {
     "auth_ref": [
      "r284",
      "r418",
      "r442",
      "r445",
      "r448"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_AccountsReceivableNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable.",
        "label": "Accounts Receivable, Allowance for Credit Loss",
        "negatedLabel": "Allowance for credit losses",
        "periodEndLabel": "Total",
        "periodStartLabel": "Balance as of January 1"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent": {
     "auth_ref": [
      "r284",
      "r418",
      "r442"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit loss on accounts receivable, classified as current.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Current",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Allowance for credit losses"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForDoubtfulAccountsReceivableWriteOffs": {
     "auth_ref": [
      "r447"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of direct write-downs of accounts receivable charged against the allowance.",
        "label": "Accounts Receivable, Allowance for Credit Loss, Writeoff",
        "negatedLabel": "Amounts written off"
       }
      }
     },
     "localname": "AllowanceForDoubtfulAccountsReceivableWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AlternativeInvestmentMeasurementInput": {
     "auth_ref": [
      "r703"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure alternative investment.",
        "label": "Alternative Investment, Measurement Input",
        "terseLabel": "Alternative Investment, Measurement Input"
       }
      }
     },
     "localname": "AlternativeInvestmentMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r66",
      "r104",
      "r111"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Amortization expense of intangible assets",
        "verboseLabel": "Amortization of intangible assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ArrangementsAndNonarrangementTransactionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Domain]",
        "terseLabel": "Arrangements and Non-arrangement Transactions [Domain]"
       }
      }
     },
     "localname": "ArrangementsAndNonarrangementTransactionsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetAtFairValueChangesInFairValueResultingFromChangesInAssumptions": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in fair value from changes in the assumptions or model used to calculate the fair value of a contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
        "label": "Asset at Fair Value, Changes in Fair Value Resulting from Changes in Assumptions",
        "terseLabel": "Changes in fair value of financial assets"
       }
      }
     },
     "localname": "AssetAtFairValueChangesInFairValueResultingFromChangesInAssumptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetImpairmentCharges": {
     "auth_ref": [
      "r66",
      "r115"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of write-down of assets recognized in the income statement. Includes, but is not limited to, losses from tangible assets, intangible assets and goodwill.",
        "label": "Asset Impairment Charges",
        "terseLabel": "Impairment of assets",
        "totalLabel": "Asset Impairment Charges, Total"
       }
      }
     },
     "localname": "AssetImpairmentCharges",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r213",
      "r235",
      "r276",
      "r316",
      "r386",
      "r398",
      "r404",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r679",
      "r683",
      "r709",
      "r954",
      "r1019",
      "r1020",
      "r1068"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "Total assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r266",
      "r288",
      "r316",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r679",
      "r683",
      "r709",
      "r954",
      "r1019",
      "r1020",
      "r1068"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "terseLabel": "Current assets",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "Current assets"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsNoncurrent": {
     "auth_ref": [
      "r316",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r679",
      "r683",
      "r709",
      "r1019",
      "r1020",
      "r1068"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold or consumed after one year or beyond the normal operating cycle, if longer.",
        "label": "Assets, Noncurrent",
        "terseLabel": "Non-current assets",
        "totalLabel": "Total non-current assets"
       }
      }
     },
     "localname": "AssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Noncurrent [Abstract]",
        "terseLabel": "Non-current assets"
       }
      }
     },
     "localname": "AssetsNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r94",
      "r422",
      "r462",
      "r822"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale",
        "terseLabel": "Available-for-Sale Debt Securities",
        "totalLabel": "Debt Securities, Available-for-Sale, Total"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent": {
     "auth_ref": [
      "r93",
      "r271",
      "r462"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), classified as noncurrent.",
        "label": "Debt Securities, Available-for-Sale, Noncurrent",
        "terseLabel": "Debt securities available for sale Noncurrent"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecuritiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableforsaleSecuritiesMember": {
     "auth_ref": [
      "r426"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Available-for-sale Securities [Member]"
       }
      }
     },
     "localname": "AvailableforsaleSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r591",
      "r592",
      "r593",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r615",
      "r616",
      "r617",
      "r618",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location [Axis]"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r188",
      "r191"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location [Domain]"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r671",
      "r944",
      "r945"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree [Domain]"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r160",
      "r161",
      "r671",
      "r944",
      "r945"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition [Axis]"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Business Acquisition [Line Items]",
        "terseLabel": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationContingentConsiderationLiability": {
     "auth_ref": [
      "r164",
      "r165",
      "r677"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liability recognized arising from contingent consideration in a business combination.",
        "label": "Business Combination, Contingent Consideration, Liability",
        "totalLabel": "Business Combination, Contingent Consideration, Liability, Total",
        "verboseLabel": "contingency cash consideration"
       }
      }
     },
     "localname": "BusinessCombinationContingentConsiderationLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r166",
      "r672"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable).",
        "label": "Business Combination Disclosure [Text Block]",
        "terseLabel": "Decosolidations"
       }
      }
     },
     "localname": "BusinessCombinationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combinations [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r68",
      "r269",
      "r913"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents",
        "totalLabel": "Cash and Cash Equivalents, at Carrying Value, Total"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r69"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsAndShortTermInvestments": {
     "auth_ref": [
      "r979"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the customer may deposit additional funds at any time and effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid Investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. Short-term investments, exclusive of cash equivalents, generally consist of marketable securities intended to be sold within one year (or the normal operating cycle if longer) and may include trading securities, available-for-sale securities, or held-to-maturity securities (if maturing within one year), as applicable.",
        "label": "Cash, Cash Equivalents, and Short-Term Investments",
        "terseLabel": "Cash and cash equivalents, restricted cash and short-term investments",
        "totalLabel": "Cash, Cash Equivalents, and Short-Term Investments, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsAndShortTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r63",
      "r68",
      "r74"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "periodEndLabel": "Cash and cash equivalents and restricted cash at end of year",
        "periodStartLabel": "Cash and cash equivalents and restricted cash at beginning of year",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r63",
      "r206"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "terseLabel": "Net (decrease) increase in cash and cash equivalents and restricted cash",
        "totalLabel": "Net increase (decrease) in cash and cash equivalents and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
        "terseLabel": "Non-cash investing and financing activities:"
       }
      }
     },
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r277",
      "r278",
      "r279",
      "r316",
      "r345",
      "r349",
      "r356",
      "r358",
      "r366",
      "r367",
      "r432",
      "r505",
      "r508",
      "r509",
      "r510",
      "r516",
      "r517",
      "r535",
      "r536",
      "r539",
      "r543",
      "r550",
      "r709",
      "r890",
      "r970",
      "r990",
      "r999"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock [Domain]"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class of Stock [Line Items]",
        "terseLabel": "Class of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r24",
      "r224",
      "r242"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "Commitments and contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]",
        "terseLabel": "Commitments and contingencies disclosure [abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r122",
      "r498",
      "r499",
      "r873",
      "r1017"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsAndContingenciesPolicyTextBlock": {
     "auth_ref": [
      "r123",
      "r874"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for commitments and contingencies, which may include policies for recognizing and measuring loss and gain contingencies.",
        "label": "Commitments and Contingencies, Policy [Policy Text Block]",
        "terseLabel": "Contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommonClassAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification of common stock representing ownership interest in a corporation.",
        "label": "Common Class A [Member]",
        "terseLabel": "Common Class A [Member]"
       }
      }
     },
     "localname": "CommonClassAMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonClassBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classification of common stock that has different rights than Common Class A, representing ownership interest in a corporation.",
        "label": "Common Class B [Member]",
        "terseLabel": "Common Class B [Member]"
       }
      }
     },
     "localname": "CommonClassBMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r996",
      "r997",
      "r1061"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Ordinary shares, par value",
        "verboseLabel": "Ordinary shares, par value (in dollars per share)"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Ordinary shares, shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Ordinary shares, shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r8",
      "r131"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "verboseLabel": "Ordinary shares, shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r8",
      "r954"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Ordinary shares"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r37",
      "r296",
      "r298",
      "r306",
      "r826",
      "r835"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Total comprehensive income (loss) attributable to Cheetah Mobile Inc.",
        "verboseLabel": "Total comprehensive (loss) income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r170",
      "r171",
      "r187",
      "r296",
      "r298",
      "r305",
      "r825",
      "r834"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income (loss) and other comprehensive income (loss), attributable to noncontrolling interests. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Noncontrolling Interest",
        "totalLabel": "Comprehensive Income (Loss), Net of Tax, Attributable to Noncontrolling Interest, Total",
        "verboseLabel": "Less: total comprehensive loss attributable to noncontrolling interests"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r169",
      "r187",
      "r296",
      "r298",
      "r304",
      "r824",
      "r833"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income. Excludes changes in equity resulting from investments by owners and distributions to owners.",
        "label": "Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Total comprehensive income (loss)",
        "totalLabel": "Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for comprehensive income.",
        "label": "Comprehensive Income, Policy [Policy Text Block]",
        "terseLabel": "Comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDescription": {
     "auth_ref": [
      "r80",
      "r81",
      "r204",
      "r205"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies or describes the benchmark that serves as the denominator in the calculation of the percentage of concentration risk.",
        "label": "Concentration Risk, Benchmark Description",
        "terseLabel": "Concentration risk, description"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskBenchmarkDomain": {
     "auth_ref": [
      "r80",
      "r81",
      "r204",
      "r205",
      "r412",
      "r872"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The denominator in a calculation of a disclosed concentration risk percentage.",
        "label": "Concentration Risk Benchmark [Domain]",
        "terseLabel": "Concentration Risk Benchmark [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskBenchmarkDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ConcentrationRiskByBenchmarkAxis": {
     "auth_ref": [
      "r80",
      "r81",
      "r204",
      "r205",
      "r412",
      "r852",
      "r872"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by benchmark of concentration risk.",
        "label": "Concentration Risk Benchmark [Axis]",
        "terseLabel": "Concentration Risk Benchmark [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByBenchmarkAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskByTypeAxis": {
     "auth_ref": [
      "r80",
      "r81",
      "r204",
      "r205",
      "r412",
      "r872",
      "r1079"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
        "label": "Concentration Risk Type [Axis]",
        "terseLabel": "Concentration Risk Type [Axis]"
       }
      }
     },
     "localname": "ConcentrationRiskByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ConcentrationRiskPercentage1": {
     "auth_ref": [
      "r80",
      "r81",
      "r204",
      "r205",
      "r412"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
        "label": "Concentration Risk, Percentage",
        "terseLabel": "Concentration risk percentage"
       }
      }
     },
     "localname": "ConcentrationRiskPercentage1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ConcentrationRiskTypeDomain": {
     "auth_ref": [
      "r80",
      "r81",
      "r204",
      "r205",
      "r412",
      "r872"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
        "label": "Concentration Risk Type [Domain]",
        "terseLabel": "Concentration Risk Type [Domain]"
       }
      }
     },
     "localname": "ConcentrationRiskTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock": {
     "auth_ref": [
      "r263",
      "r322",
      "r972"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for condensed financial information, including the financial position, cash flows, and the results of operations of the registrant (parent company) as of the same dates or for the same periods for which audited consolidated financial statements are being presented. Alternatively, the details of this disclosure can be reported by the specific parent company taxonomy elements, indicating the appropriate date and period contexts in an instance document.",
        "label": "Condensed Financial Information of Parent Company Only Disclosure [Text Block]",
        "terseLabel": "Condensed Financial Information of the Company"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompany"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r173",
      "r923"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Principles of consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionInProgressMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.",
        "label": "Construction in Progress [Member]",
        "terseLabel": "Construction in progress"
       }
      }
     },
     "localname": "ConstructionInProgressMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ContractWithCustomerLiabilityCurrent": {
     "auth_ref": [
      "r552",
      "r553",
      "r564"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Contract with Customer, Liability, Current",
        "terseLabel": "Contract liabilities"
       }
      }
     },
     "localname": "ContractWithCustomerLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ConversionOfStockSharesConverted1": {
     "auth_ref": [
      "r71",
      "r72",
      "r73"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Conversion of Stock, Shares Converted",
        "terseLabel": "Conversion of Class B ordinary shares to Class A ordinary shares by shareholders,shares"
       }
      }
     },
     "localname": "ConversionOfStockSharesConverted1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CorporateNonSegmentMember": {
     "auth_ref": [
      "r88",
      "r397",
      "r398",
      "r399",
      "r400",
      "r406",
      "r1002"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Corporate headquarters or functional department that may not earn revenues or may earn revenues that are only incidental to the activities of the entity and is not considered an operating segment.",
        "label": "Corporate, Non-Segment [Member]",
        "terseLabel": "Corporate, Non-Segment [Member]"
       }
      }
     },
     "localname": "CorporateNonSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r48",
      "r804"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.",
        "label": "Cost of Goods and Services Sold",
        "negatedLabel": "Cost of revenues",
        "negatedTerseLabel": "Cost of revenues (a)",
        "terseLabel": "Cost of revenues",
        "totalLabel": "Cost of Goods and Services Sold, Total"
       }
      }
     },
     "localname": "CostOfGoodsAndServicesSold",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing cost of sales.",
        "label": "Cost of Sales [Member]",
        "terseLabel": "Cost of Sales [Member]",
        "verboseLabel": "Cost of revenues [member]"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfSalesPolicyTextBlock": {
     "auth_ref": [
      "r1025"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cost of product sold and service rendered.",
        "label": "Cost of Goods and Service [Policy Text Block]",
        "terseLabel": "Cost of revenues"
       }
      }
     },
     "localname": "CostOfSalesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CostsAndExpensesRelatedParty": {
     "auth_ref": [
      "r49"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs of sales and operating expenses for the period incurred from transactions with related parties.",
        "label": "Costs and Expenses, Related Party",
        "negatedLabel": "Amount of transactions with related parties"
       }
      }
     },
     "localname": "CostsAndExpensesRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CreditLossFinancialInstrumentPolicyTextBlock": {
     "auth_ref": [
      "r439",
      "r440",
      "r441",
      "r443",
      "r444",
      "r450",
      "r452",
      "r453",
      "r454",
      "r455",
      "r458",
      "r459",
      "r460",
      "r461",
      "r463",
      "r464",
      "r465",
      "r467"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for credit loss on financial instrument measured at amortized cost basis, net investment in lease, off-balance sheet credit exposure, and available-for-sale debt security. Includes, but is not limited to, methodology used to estimate allowance for credit loss, how writeoff of uncollectible amount is recognized, and determination of past due status and nonaccrual status.",
        "label": "Credit Loss, Financial Instrument [Policy Text Block]",
        "terseLabel": "Allowance for credit losses"
       }
      }
     },
     "localname": "CreditLossFinancialInstrumentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CrossCurrencyInterestRateContractMember": {
     "auth_ref": [
      "r1026",
      "r1060"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to interest rates and foreign exchange rates.",
        "label": "Cross Currency Interest Rate Contract [Member]",
        "terseLabel": "Cross Currency Interest Rate Contract [Member]"
       }
      }
     },
     "localname": "CrossCurrencyInterestRateContractMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r159",
      "r650",
      "r659",
      "r993"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations.",
        "label": "Current Income Tax Expense (Benefit)",
        "terseLabel": "Current income tax expenses",
        "totalLabel": "Current Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "CurrentIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r163"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
        "label": "Customer Relationships [Member]",
        "terseLabel": "Customer relationship",
        "verboseLabel": "Customer relationship [Member]"
       }
      }
     },
     "localname": "CustomerRelationshipsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r4",
      "r5",
      "r6",
      "r214",
      "r216",
      "r232",
      "r322",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r734",
      "r933",
      "r934",
      "r935",
      "r936",
      "r937",
      "r991"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r207",
      "r208",
      "r518",
      "r734",
      "r934",
      "r935"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Debt Instrument, Face Amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r20",
      "r519"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentMaturityDateDescription": {
     "auth_ref": [
      "r21"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of the maturity date of the debt instrument including whether the debt matures serially and, if so, a brief description of the serial maturities.",
        "label": "Debt Instrument, Maturity Date, Description",
        "terseLabel": "Maturity term"
       }
      }
     },
     "localname": "DebtInstrumentMaturityDateDescription",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r22",
      "r322",
      "r518",
      "r519",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r734",
      "r933",
      "r934",
      "r935",
      "r936",
      "r937",
      "r991"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleGainLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Gain (Loss)",
        "terseLabel": "Fair value (loss) gain on the long-term available-for-sale debt security",
        "totalLabel": "Debt Securities, Available-for-Sale, Gain (Loss), Total",
        "verboseLabel": "Total (losses) gains, Available-for-sale debt security"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleMeasurementInput": {
     "auth_ref": [
      "r703"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-Sale, Measurement Input",
        "terseLabel": "Available-for-Sale Debt Securities, Measurement Input"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_DeconsolidationGainOrLossAmount": {
     "auth_ref": [
      "r178"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) from deconsolidation of subsidiary and derecognition of group of assets constituting transfer of business or nonprofit activity, excluding conveyance of oil and gas mineral rights and transfer of good or service in contract with customer.",
        "label": "Deconsolidation, Gain (Loss), Amount",
        "terseLabel": "Deconsolidation gain"
       }
      }
     },
     "localname": "DeconsolidationGainOrLossAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amounts paid in advance for capitalized costs that will be expensed with the passage of time or the occurrence of a triggering event, and will be charged against earnings within one year or the normal operating cycle, if longer; the aggregate carrying amount of current assets, not separately presented elsewhere in the balance sheet; and other deferred costs.",
        "label": "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Table Text Block]",
        "terseLabel": "Schedule of prepayments and other current assets, net"
       }
      }
     },
     "localname": "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r636",
      "r637"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
        "label": "Deferred Income Tax Assets, Net",
        "terseLabel": "Deferred tax assets"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r66",
      "r159",
      "r651",
      "r658",
      "r659",
      "r993"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred income tax (benefits) expenses",
        "totalLabel": "Deferred Income Tax Expense (Benefit), Total",
        "verboseLabel": "Deferred income tax (benefits) expenses"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueCurrent": {
     "auth_ref": [
      "r975"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as current.",
        "label": "Deferred Revenue, Current",
        "terseLabel": "Deferred revenue",
        "totalLabel": "Deferred Revenue, Current, Total"
       }
      }
     },
     "localname": "DeferredRevenueCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredRevenueRevenueRecognized1": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized that was previously reported as deferred or unearned revenue.",
        "label": "Deferred Revenue, Revenue Recognized"
       }
      }
     },
     "localname": "DeferredRevenueRevenueRecognized1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAndOtherLiabilitiesNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences, with jurisdictional netting, and liabilities classified as noncurrent and other.",
        "label": "Deferred Tax and Other Liabilities, Noncurrent",
        "terseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxAndOtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r647"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "terseLabel": "Total deferred tax assets before valuation allowances",
        "totalLabel": "Deferred Tax Assets, Gross, Total"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "auth_ref": [
      "r1058"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting.",
        "label": "Deferred Tax Assets, Net",
        "terseLabel": "Deferred tax assets",
        "totalLabel": "Deferred Tax Assets, Net, Total"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r648"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail": {
       "order": 0.0,
       "parentTag": "cmcm_DeferredTaxAssetNetNoncurrent",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Tax Assets, Valuation Allowance",
        "negatedLabel": "Valuation allowance",
        "terseLabel": "Valuation allowances"
       }
      }
     },
     "localname": "DeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilities": {
     "auth_ref": [
      "r155",
      "r1058"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting.",
        "label": "Deferred Tax Liabilities, Net",
        "totalLabel": "Deferred Tax Liabilities, Net, Total",
        "verboseLabel": "Deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfDomesticSubsidiaries": {
     "auth_ref": [
      "r669"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability not recognized because of the exceptions to comprehensive recognition of deferred taxes related to undistributed earnings of domestic subsidiaries.",
        "label": "Deferred Tax Liability Not Recognized, Amount of Unrecognized Deferred Tax Liability, Undistributed Earnings of Domestic Subsidiaries",
        "terseLabel": "Unrecognized deferred income tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfDomesticSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanCostRecognized": {
     "auth_ref": [
      "r583"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost for defined contribution plan.",
        "label": "Defined Contribution Plan, Cost",
        "terseLabel": "Contributions for employee benefits"
       }
      }
     },
     "localname": "DefinedContributionPlanCostRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefitAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Depreciation": {
     "auth_ref": [
      "r66",
      "r116"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation.",
        "label": "Depreciation",
        "terseLabel": "Depreciation expenses",
        "totalLabel": "Depreciation, Total",
        "verboseLabel": "Depreciation of property and equipment"
       }
      }
     },
     "localname": "Depreciation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]",
        "terseLabel": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r189",
      "r190",
      "r192",
      "r194",
      "r922"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]",
        "terseLabel": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DilutiveSecurities": {
     "auth_ref": [
      "r77"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) to net income used for calculating diluted earnings per share (EPS), resulting from the assumed exercise stock options, restrictive stock units (RSUs), convertible preferred stock of an employee stock ownership plan (ESOP), and other dilutive convertible securities.",
        "label": "Dilutive Securities, Effect on Basic Earnings Per Share",
        "terseLabel": "Dilution effect arising from dividends declared on share awards of consolidated subsidiaries",
        "totalLabel": "Dilutive Securities, Effect on Basic Earnings Per Share, Total"
       }
      }
     },
     "localname": "DilutiveSecurities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisaggregationOfRevenueTableTextBlock": {
     "auth_ref": [
      "r1024"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
        "label": "Disaggregation of Revenue [Table Text Block]",
        "terseLabel": "Schedule of Revenue Disaggregated by Revenue Source"
       }
      }
     },
     "localname": "DisaggregationOfRevenueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r590",
      "r622",
      "r623",
      "r626",
      "r631",
      "r947"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement [Text Block]",
        "terseLabel": "Share-Based Compensation"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_Dividends": {
     "auth_ref": [
      "r138",
      "r231"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid cash, stock, and paid-in-kind (PIK) dividends declared, for example, but not limited to, common and preferred stock.",
        "label": "Dividends",
        "negatedLabel": "Dividend declared by the Company to Cheetah Mobile Inc. shareholders",
        "totalLabel": "Dividends, Total"
       }
      }
     },
     "localname": "Dividends",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromAffiliateCurrent": {
     "auth_ref": [
      "r209",
      "r761",
      "r765"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of receivables due from an entity that is affiliated with the reporting entity by means of direct or indirect ownership, due within 1 year (or 1 business cycle).",
        "label": "Due from Affiliate, Current",
        "terseLabel": "Amounts due from subsidiaries"
       }
      }
     },
     "localname": "DueFromAffiliateCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedParties": {
     "auth_ref": [
      "r221",
      "r244",
      "r281",
      "r507",
      "r508",
      "r509",
      "r515",
      "r516",
      "r517",
      "r760",
      "r994"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amounts due from related parties including affiliates, employees, joint ventures, officers and stockholders, immediate families thereof, and pension funds.",
        "label": "Due from Related Parties",
        "terseLabel": "Amount due from related parties",
        "totalLabel": "Due from Related Parties, Total"
       }
      }
     },
     "localname": "DueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r281",
      "r507",
      "r508",
      "r509",
      "r515",
      "r516",
      "r517",
      "r760",
      "r915",
      "r994"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date. which are usually due within one year (or one business cycle).",
        "label": "Due from Related Parties, Current",
        "terseLabel": "Due from related parties, net",
        "totalLabel": "Due from Related Parties, Current, Total",
        "verboseLabel": "Due from subsidiaries and related parties, net"
       }
      }
     },
     "localname": "DueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueFromRelatedPartiesNoncurrent": {
     "auth_ref": [
      "r270",
      "r507",
      "r508",
      "r509",
      "r515",
      "r516",
      "r517",
      "r760",
      "r994"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of receivables to be collected from related parties where one party can exercise control or significant influence over another party; including affiliates, owners or officers and their immediate families, pension trusts, and so forth, at the financial statement date, which are usually due after one year (or one business cycle).",
        "label": "Due from Related Parties, Noncurrent",
        "terseLabel": "Due from related parties, net",
        "totalLabel": "Due from Related Parties, Noncurrent, Total"
       }
      }
     },
     "localname": "DueFromRelatedPartiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrent": {
     "auth_ref": [
      "r16",
      "r507",
      "r508",
      "r509",
      "r515",
      "r516",
      "r517",
      "r760",
      "r994"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties. For classified balance sheets, represents the current portion of such liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Due to Related Parties, Current",
        "terseLabel": "Due to related parties",
        "totalLabel": "Due to Related Parties, Current, Total",
        "verboseLabel": "Due to subsidiaries and related parties"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DueToRelatedPartiesCurrentAndNoncurrent": {
     "auth_ref": [
      "r222",
      "r243",
      "r507",
      "r508",
      "r509",
      "r515",
      "r516",
      "r517",
      "r760",
      "r994"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of obligations due all related parties.",
        "label": "Due to Related Parties",
        "terseLabel": "Amount due to related parties",
        "totalLabel": "Due to Related Parties, Total"
       }
      }
     },
     "localname": "DueToRelatedPartiesCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "Earnings (Losses) per share"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r307",
      "r331",
      "r332",
      "r334",
      "r335",
      "r336",
      "r342",
      "r345",
      "r356",
      "r357",
      "r358",
      "r362",
      "r696",
      "r697",
      "r827",
      "r836",
      "r927"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "totalLabel": "Earnings Per Share, Basic, Total",
        "verboseLabel": "Earnings (Loss) per share-basic"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r307",
      "r331",
      "r332",
      "r334",
      "r335",
      "r336",
      "r345",
      "r356",
      "r357",
      "r358",
      "r362",
      "r696",
      "r697",
      "r827",
      "r836",
      "r927"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "verboseLabel": "Earnings (Loss) per share-diluted"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r76",
      "r78"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Earnings (loss) per share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r359",
      "r360",
      "r361",
      "r363"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings (Loss) Per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r722"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies. Excludes amounts for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Continuing Operations",
        "terseLabel": "Effect of exchange rate changes on cash and cash equivalents and restricted cash",
        "verboseLabel": "Effect of exchange rate changes on cash, cash equivalents and restricted cash"
       }
      }
     },
     "localname": "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r318",
      "r639",
      "r661"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "Statutory rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r625"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "totalLabel": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total",
        "verboseLabel": "Expected period over which unamortized compensation costs is to be recognized"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r625"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Expected period over which unamortized compensation costs is to be recognized"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions": {
     "auth_ref": [
      "r1053"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-Based Payment Arrangement, Option [Member]"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r131",
      "r260",
      "r299",
      "r300",
      "r301",
      "r323",
      "r324",
      "r325",
      "r328",
      "r337",
      "r340",
      "r365",
      "r436",
      "r551",
      "r627",
      "r628",
      "r629",
      "r654",
      "r655",
      "r695",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r729",
      "r756",
      "r842",
      "r843",
      "r844"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentAggregateCost": {
     "auth_ref": [
      "r15"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents the aggregate cost of investments accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Aggregate Cost",
        "terseLabel": "Aggregate consideration for equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentAggregateCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis": {
     "auth_ref": [
      "r265",
      "r316",
      "r432",
      "r709"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by nonconsolidated equity method investee. Excludes information consolidated by reporting entity.",
        "label": "Equity Method Investment, Nonconsolidated Investee [Axis]"
       }
      }
     },
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain": {
     "auth_ref": [
      "r265",
      "r316",
      "r432",
      "r709"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nonconsolidated equity method investee. Excludes information consolidated by reporting entity.",
        "label": "Equity Method Investment, Nonconsolidated Investee [Domain]"
       }
      }
     },
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeOtherMember": {
     "auth_ref": [
      "r973",
      "r992",
      "r1009",
      "r1064"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nonconsolidated equity method investee classified as other. Excludes information consolidated by reporting entity.",
        "label": "Equity Method Investment, Nonconsolidated Investee, Other [Member]"
       }
      }
     },
     "localname": "EquityMethodInvestmentNonconsolidatedInvesteeOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment": {
     "auth_ref": [
      "r97"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents an other than temporary decline in value that has been recognized against an investment accounted for under the equity method of accounting. The excess of the carrying amount over the fair value of the investment represents the amount of the write down which is or was reflected in earnings. The written down value is a new cost basis with the adjusted value of the investment becoming its new carrying value subject to the equity accounting method. Evidence of a loss in value might include, but would not necessarily be limited to, absence of an ability to recover the carrying amount of the investment or inability of the investee to sustain an earnings capacity which would justify the carrying amount of the investment.",
        "label": "Equity Method Investment, Other than Temporary Impairment",
        "terseLabel": "Impairment loss of equity method investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentOtherThanTemporaryImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentRealizedGainLossOnDisposal": {
     "auth_ref": [
      "r983",
      "r984",
      "r989"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of an equity method investment.",
        "label": "Equity Method Investment, Realized Gain (Loss) on Disposal",
        "terseLabel": "Equity Method Investment, Realized Gain (Loss) on Disposal"
       }
      }
     },
     "localname": "EquityMethodInvestmentRealizedGainLossOnDisposal",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r98",
      "r387",
      "r974"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "terseLabel": "Investment in equity investees",
        "verboseLabel": "Equity investments accounted using equity method"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsFairValueDisclosure": {
     "auth_ref": [
      "r96"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of investments accounted under the equity method.",
        "label": "Equity Method Investments, Fair Value Disclosure",
        "terseLabel": "Equity investments with readily determinable fair value",
        "verboseLabel": "Equity Method Investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsMember": {
     "auth_ref": [
      "r95"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in the stock of an investee which is adjusted for the investor's share of the earnings or losses of the investee after the date of acquisition.",
        "label": "Equity Method Investments [Member]",
        "terseLabel": "Equity investments accounted for using fair value option [Member]"
       }
      }
     },
     "localname": "EquityMethodInvestmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "auth_ref": [
      "r99"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.",
        "label": "Equity Method Investments [Table Text Block]",
        "terseLabel": "Summary of unaudited condensed financial information of the Group's equity investments"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EquitySecuritiesFvNiGainLoss": {
     "auth_ref": [
      "r1008"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Gain (Loss)",
        "terseLabel": "Equity Securities, FV-NI, Gain (Loss)",
        "totalLabel": "Total net gains (losses) recognized in other income, net"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiMeasurementInput": {
     "auth_ref": [
      "r703"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Measurement Input",
        "terseLabel": "Equity Securities, FV-NI, Measurement Input"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGainLoss": {
     "auth_ref": [
      "r837",
      "r1008"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_EquitySecuritiesFvNiGainLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Realized Gain (Loss)",
        "terseLabel": "Net realized gains on equity securities sold",
        "totalLabel": "Equity Securities, FV-NI, Realized Gain (Loss), Total"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss": {
     "auth_ref": [
      "r837",
      "r1008"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_EquitySecuritiesFvNiGainLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Unrealized Gain (Loss)",
        "totalLabel": "Net unrealized gains (losses) on equity securities held"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount": {
     "auth_ref": [
      "r427"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Amount",
        "terseLabel": "Equity investments accounted for at fair value using the alternative measurement"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount": {
     "auth_ref": [
      "r428"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss from downward price adjustment on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Downward Price Adjustment, Annual Amount",
        "negatedLabel": "Gross unrealized losses (impairment)"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueDownwardPriceAdjustmentAnnualAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossCumulativeAmount": {
     "auth_ref": [
      "r428"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cumulative impairment loss on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Impairment Loss, Cumulative Amount",
        "terseLabel": "Accumulated impairment of equity investments without readily determinable fair value"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossCumulativeAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount": {
     "auth_ref": [
      "r429"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Upward Price Adjustment, Annual Amount",
        "terseLabel": "Gross unrealized gains (upward adjustments)",
        "verboseLabel": "Unrealized gains for the Equity investments with readily determinable fair value"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsScheduleOfUnrealizedAndRealizedGainsAndLossesOfEquitySecuritiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount": {
     "auth_ref": [
      "r429"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cumulative gain from upward price adjustment on investment in equity security without readily determinable fair value.",
        "label": "Equity Securities without Readily Determinable Fair Value, Upward Price Adjustment, Cumulative Amount",
        "terseLabel": "Realized gains for equity investments with readily determinable fair value"
       }
      }
     },
     "localname": "EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentCumulativeAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList": {
     "auth_ref": [
      "r704"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement in which net income is reported that includes unrealized gain (loss) from asset measured at fair value using unobservable input (level 3) and still held.",
        "label": "Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]"
       }
      }
     },
     "localname": "FairValueAssetRecurringBasisStillHeldUnrealizedGainLossStatementOfIncomeExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r699",
      "r700",
      "r707"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value Measurements, Recurring and Nonrecurring [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock": {
     "auth_ref": [
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
        "terseLabel": "Schedule of significant unobservable inputs used in the fair value measurement"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss": {
     "auth_ref": [
      "r704"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3) and still held.",
        "label": "Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss)",
        "terseLabel": "Fair value change"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r198"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]",
        "terseLabel": "Asset Class [Domain]"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r196",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]",
        "terseLabel": "Asset Class [Axis]"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r526",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r700",
      "r772",
      "r773",
      "r774",
      "r934",
      "r935",
      "r941",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "auth_ref": [
      "r200",
      "r201"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of liability.",
        "label": "Liability Class [Axis]",
        "terseLabel": "Liability Class [Axis]"
       }
      }
     },
     "localname": "FairValueByLiabilityClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r699",
      "r700",
      "r702",
      "r703",
      "r708"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency [Axis]"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r706"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r526",
      "r568",
      "r573",
      "r700",
      "r772",
      "r941",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Quoted Prices in Active Markets for Identical Assets (Level 1)"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r526",
      "r568",
      "r573",
      "r700",
      "r773",
      "r934",
      "r935",
      "r941",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Significant Other Observable Inputs (Level 2)"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r526",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r700",
      "r774",
      "r934",
      "r935",
      "r941",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Significant Unobservable Inputs (Level 3)",
        "verboseLabel": "Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "auth_ref": [
      "r198"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents classes of liabilities measured and disclosed at fair value.",
        "label": "Fair Value by Liability Class [Domain]",
        "terseLabel": "Fair Value by Liability Class [Domain]"
       }
      }
     },
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Fair Value, Measurement Frequency [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r199"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "terseLabel": "Addition"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfer of financial instrument classified as an asset into (out of) level 3 of the fair value hierarchy.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net",
        "terseLabel": "Fair value measurement with unobservable inputs reconciliation recurring basis asset transfers net",
        "totalLabel": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net, Total"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r198"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Balance at the Ending",
        "periodStartLabel": "Balance at the Beginning"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r526",
      "r568",
      "r569",
      "r570",
      "r571",
      "r572",
      "r573",
      "r772",
      "r773",
      "r774",
      "r934",
      "r935",
      "r941",
      "r942",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementReconciliationOfTheAssetsAndLiabilitiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsNonrecurringMember": {
     "auth_ref": [
      "r699",
      "r700",
      "r702",
      "r703",
      "r705",
      "r708"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Infrequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
        "label": "Fair Value, Nonrecurring [Member]",
        "terseLabel": "Fair Value, Measurements, Nonrecurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsNonrecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r706",
      "r708"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value, Measurements, Recurring [Member]"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r202",
      "r203"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "terseLabel": "Fair value measurements of financial instruments"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FederalHomeLoanBanksAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Federal Home Loan Banks [Abstract]"
       }
      }
     },
     "localname": "FederalHomeLoanBanksAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r424",
      "r425",
      "r444",
      "r449",
      "r450",
      "r451",
      "r457",
      "r466",
      "r467",
      "r468",
      "r534",
      "r548",
      "r685",
      "r769",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r775",
      "r776",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r930",
      "r1005",
      "r1006",
      "r1007",
      "r1080",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085",
      "r1086"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Allowance for Credit Loss [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Finite Lived Intangible Asset useful life"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r274",
      "r489"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "negatedLabel": "Accumulated amortization"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for asset, excluding financial asset and goodwill, lacking physical substance with finite life expected to be recognized after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r112"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r112"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r112"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r112"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r112"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r486",
      "r488",
      "r489",
      "r491",
      "r805",
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]",
        "terseLabel": "Finite-Lived Intangible Assets by Major Class [Axis]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsGross": {
     "auth_ref": [
      "r110",
      "r809"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Gross",
        "terseLabel": "Gross carrying value, finite-lived",
        "totalLabel": "Finite-Lived Intangible Assets, Gross, Total"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Finite-Lived Intangible Assets [Line Items]",
        "terseLabel": "Finite-Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r105",
      "r109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of finite-lived intangible asset (for example, patents, trademarks, copyrights, etc.) A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Finite-Lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r110",
      "r805"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "periodEndLabel": "Finite-Lived Intangible Assets, Net, Ending Balance",
        "periodStartLabel": "Finite-Lived Intangible Assets, Net, Beginning Balance",
        "terseLabel": "Net carrying value, finite-lived",
        "totalLabel": "Net carrying value, finite-lived",
        "verboseLabel": "Total"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionGainLossBeforeTax": {
     "auth_ref": [
      "r718",
      "r719",
      "r720",
      "r721"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement.",
        "label": "Foreign Currency Transaction Gain (Loss), before Tax",
        "terseLabel": "Foreign exchange (losses) gains, net",
        "totalLabel": "Foreign Currency Transaction Gain (Loss), before Tax, Total",
        "verboseLabel": "Foreign exchange gains (loss), net"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionGainLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock": {
     "auth_ref": [
      "r731"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy.",
        "label": "Foreign Currency Transactions and Translations Policy [Policy Text Block]",
        "terseLabel": "Foreign currency translation and transactions"
       }
      }
     },
     "localname": "ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GainContingenciesByNatureAxis": {
     "auth_ref": [
      "r1016"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by nature of gain contingency.",
        "label": "Gain Contingencies, Nature [Axis]",
        "terseLabel": "Gain Contingencies, Nature [Axis]"
       }
      }
     },
     "localname": "GainContingenciesByNatureAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_GainContingencyNatureDomain": {
     "auth_ref": [
      "r1016"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes any existing condition, situation, or set of circumstances involving uncertainty as of the balance sheet date (or before issuance of the financial statements) that might result in a gain, typically reflecting care to avoid misleading implications as to the likelihood of realization.",
        "label": "Gain Contingency, Nature [Domain]",
        "terseLabel": "Gain Contingency, Nature [Domain]"
       }
      }
     },
     "localname": "GainContingencyNatureDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnDispositionOfAssets1": {
     "auth_ref": [
      "r989"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of assets, including but not limited to property plant and equipment, intangible assets and equity in securities of subsidiaries or equity method investee.",
        "label": "Gain (Loss) on Disposition of Assets",
        "negatedLabel": "Losses (Gains) on disposal of property and equipment and intangible assets",
        "totalLabel": "Gain (Loss) on Disposition of Assets, Total"
       }
      }
     },
     "localname": "GainLossOnDispositionOfAssets1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfInvestments": {
     "auth_ref": [
      "r66"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing activities.",
        "label": "Gain (Loss) on Sale of Investments",
        "negatedLabel": "Gains on disposal of investments",
        "totalLabel": "Gain (Loss) on Sale of Investments, Total"
       }
      }
     },
     "localname": "GainLossOnSaleOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r50"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 2.0,
       "parentTag": "cmcm_OperatingExpensesAndOtherOperatingIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
        "label": "General and Administrative Expense",
        "negatedLabel": "General and administrative",
        "totalLabel": "General and Administrative Expense, Total"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GeneralAndAdministrativeExpenseMember": {
     "auth_ref": [
      "r44"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing general and administrative expense.",
        "label": "General and Administrative Expense [Member]",
        "terseLabel": "General and Administrative Expense [Member]"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GeographicConcentrationRiskMember": {
     "auth_ref": [
      "r79",
      "r872"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the percentage that a specified dollar value on the balance sheet or income statement in the period from one or more specified geographic areas is to a corresponding consolidated, segment, or product line amount. Risk is the materially adverse effects of economic decline or antagonistic political actions resulting in loss of assets, sales volume, labor supply, or source of materials and supplies in a US state or a specified country, continent, or region such as EMEA (Europe, Middle East, Africa).",
        "label": "Geographic Concentration Risk [Member]",
        "terseLabel": "Geographic Concentration Risk [Member]"
       }
      }
     },
     "localname": "GeographicConcentrationRiskMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingExpenses",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 4.0,
       "parentTag": "cmcm_OperatingExpensesAndOtherOperatingIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill.",
        "label": "Goodwill and Intangible Asset Impairment",
        "negatedLabel": "Impairment of goodwill",
        "negatedTerseLabel": "Total (losses) gains, Intangible assets, net",
        "totalLabel": "Goodwill and Intangible Asset Impairment, Total"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetImpairment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsGoodwillPolicy": {
     "auth_ref": [
      "r484",
      "r485",
      "r932"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for goodwill. This accounting policy also may address how an entity assesses and measures impairment of goodwill, how reporting units are determined, how goodwill is allocated to such units, and how the fair values of the reporting units are determined.",
        "label": "Goodwill and Intangible Assets, Goodwill, Policy [Policy Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsGoodwillPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsIntangibleAssetsPolicy": {
     "auth_ref": [
      "r107"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for intangible assets. This accounting policy may address both intangible assets subject to amortization and those that are not. The following also may be disclosed: (1) a description of intangible assets (2) the estimated useful lives of those assets (3) the amortization method used (4) how the entity assesses and measures impairment of such assets (5) how future cash flows are estimated (6) how the fair values of such asset are determined.",
        "label": "Goodwill and Intangible Assets, Intangible Assets, Policy [Policy Text Block]",
        "terseLabel": "Intangible assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r66",
      "r474",
      "r479",
      "r484",
      "r932"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impairment Loss",
        "terseLabel": "Goodwill, Impairment Loss"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GrossProfit": {
     "auth_ref": [
      "r47",
      "r316",
      "r386",
      "r397",
      "r403",
      "r406",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r709",
      "r929",
      "r1019"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_OperatingIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
        "label": "Gross Profit",
        "terseLabel": "Gross profit",
        "totalLabel": "Gross profit"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill": {
     "auth_ref": [
      "r66",
      "r114"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of an intangible asset (excluding goodwill) to fair value.",
        "label": "Impairment of Intangible Assets (Excluding Goodwill)",
        "terseLabel": "Impairment loss on intangible assets",
        "totalLabel": "Impairment of Intangible Assets (Excluding Goodwill), Total"
       }
      }
     },
     "localname": "ImpairmentOfIntangibleAssetsExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOfInvestments": {
     "auth_ref": [
      "r423"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount by which the fair value of an investment is less than the amortized cost basis or carrying amount of that investment at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income.",
        "label": "Other than Temporary Impairment Losses, Investments",
        "terseLabel": "Impairment of investment"
       }
      }
     },
     "localname": "ImpairmentOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOrDisposalOfLongLivedAssetsIncludingIntangibleAssetsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the impairment and disposal of long-lived assets including goodwill and other intangible assets.",
        "label": "Impairment or Disposal of Long-Lived Assets, Including Intangible Assets, Policy [Policy Text Block]",
        "terseLabel": "Impairment of long-lived assets and intangible assets"
       }
      }
     },
     "localname": "ImpairmentOrDisposalOfLongLivedAssetsIncludingIntangibleAssetsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic": {
     "auth_ref": [
      "r317",
      "r660"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of earnings or loss from continuing operations before income taxes that is attributable to domestic operations.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Domestic",
        "terseLabel": "PRC"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r41",
      "r212",
      "r228",
      "r249",
      "r386",
      "r397",
      "r403",
      "r406",
      "r828",
      "r929"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "Income (loss) before income tax",
        "totalLabel": "Income (loss) before income taxes",
        "verboseLabel": "Income (Loss) before income tax"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign": {
     "auth_ref": [
      "r317",
      "r660"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of earnings or loss from continuing operations before income taxes that is attributable to foreign operations, which is defined as Income or Loss generated from operations located outside the entity's country of domicile.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Foreign",
        "terseLabel": "Non-PRC",
        "verboseLabel": "Profit earned"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r169",
      "r316",
      "r327",
      "r386",
      "r397",
      "r403",
      "r406",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r697",
      "r709",
      "r929",
      "r1019"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Operating (loss) income",
        "totalLabel": "Income (Loss) from Continuing Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest, Total",
        "verboseLabel": "Operating income (loss)"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerBasicShare": {
     "auth_ref": [
      "r39",
      "r226",
      "r229",
      "r246",
      "r307",
      "r327",
      "r331",
      "r332",
      "r334",
      "r335",
      "r345",
      "r356",
      "r357",
      "r697",
      "r827"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) from continuing operations per each share of common stock or unit outstanding during the reporting period.",
        "label": "Income (Loss) from Continuing Operations, Per Basic Share",
        "terseLabel": "Basic"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsPerBasicShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare": {
     "auth_ref": [
      "r39",
      "r246",
      "r248",
      "r307",
      "r327",
      "r331",
      "r332",
      "r334",
      "r335",
      "r345",
      "r356",
      "r357",
      "r358",
      "r697",
      "r827",
      "r836"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) derived from continuing operations during the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Income (Loss) from Continuing Operations, Per Diluted Share",
        "terseLabel": "Diluted"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsPerDilutedShare",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_IncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r42",
      "r66",
      "r98",
      "r227",
      "r245",
      "r383"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
        "label": "Income (Loss) from Equity Method Investments",
        "negatedLabel": "Share of loss (income) from equity method investments",
        "verboseLabel": "Gains (losses) from equity method investments, net"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromSubsidiariesBeforeTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of income (loss) of subsidiary attributable to the parent entity.",
        "label": "Income (Loss) from Subsidiaries, before Tax",
        "verboseLabel": "Equity in loss of subsidiaries"
       }
      }
     },
     "localname": "IncomeLossFromSubsidiariesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]",
        "terseLabel": "Operating data:"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r493",
      "r495"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r495"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r318",
      "r640",
      "r646",
      "r649",
      "r656",
      "r662",
      "r666",
      "r667",
      "r670"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r319",
      "r339",
      "r340",
      "r384",
      "r638",
      "r657",
      "r664",
      "r838"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "Income tax (expenses) benefits",
        "negatedTerseLabel": "Income tax expenses",
        "terseLabel": "Income tax (benefits) expenses",
        "totalLabel": "Income tax expenses (benefits)"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance": {
     "auth_ref": [
      "r1054"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 9.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to increase (decrease) in the valuation allowance for deferred tax assets.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount",
        "terseLabel": "Changes in valuation allowance"
       }
      }
     },
     "localname": "IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate": {
     "auth_ref": [
      "r635",
      "r639"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 6.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations, attributable to increase (decrease) in the income tax rates.",
        "label": "Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Amount",
        "terseLabel": "Effect of change in tax rate"
       }
      }
     },
     "localname": "IncomeTaxReconciliationChangeInEnactedTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential": {
     "auth_ref": [
      "r1054"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, Foreign Income Tax Rate Differential, Amount",
        "terseLabel": "Effect of different tax rates in different jurisdictions"
       }
      }
     },
     "localname": "IncomeTaxReconciliationForeignIncomeTaxRateDifferential",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount",
        "terseLabel": "Income tax expenses (benefits) computed at the PRC statutory tax rate of 25%"
       }
      }
     },
     "localname": "IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationNondeductibleExpense": {
     "auth_ref": [
      "r1054"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount",
        "terseLabel": "Non-deductible expenses",
        "totalLabel": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount, Total"
       }
      }
     },
     "localname": "IncomeTaxReconciliationNondeductibleExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxReconciliationTaxCreditsResearch": {
     "auth_ref": [
      "r1054"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to research tax credit.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Credit, Research, Amount",
        "negatedLabel": "Research and development super-deduction"
       }
      }
     },
     "localname": "IncomeTaxReconciliationTaxCreditsResearch",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r70"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "negatedLabel": "Cash payments for income taxes",
        "totalLabel": "Income Taxes Paid, Net, Total"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableTrade": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in recurring obligations of a business that arise from the acquisition of merchandise, materials, supplies and services used in the production and sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Payable, Trade",
        "terseLabel": "Accounts payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableTrade",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Receivable",
        "negatedLabel": "Accounts receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the period in the amount due for taxes based on the reporting entity's earnings or attributable to the entity's income earning process (business presence) within a given jurisdiction.",
        "label": "Increase (Decrease) in Income Taxes Payable",
        "terseLabel": "Income tax payable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedIncomeTaxesPayable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueFromRelatedPartiesCurrent": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate increase (decrease) during the reporting period in the amount due from the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; an entity and its principal owners, management, or member of their immediate families, affiliates, or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Due from Related Parties, Current",
        "negatedLabel": "Due from related parties",
        "totalLabel": "Increase (Decrease) in Due from Related Parties, Current, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueFromRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDueToRelatedParties": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate amount of obligations to be paid to the following types of related parties: a parent company and its subsidiaries; subsidiaries of a common parent; an entity and trust for the benefit of employees, such as pension and profit-sharing trusts that are managed by or under the trusteeship of the entities' management; an entity and its principal owners, management, or member of their immediate families; affiliates; or other parties with the ability to exert significant influence.",
        "label": "Increase (Decrease) in Due to Related Parties",
        "terseLabel": "Due to related parties",
        "totalLabel": "Increase (Decrease) in Due to Related Parties, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInDueToRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in operating assets and liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherNoncurrentAssets": {
     "auth_ref": [
      "r988"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in noncurrent assets classified as other.",
        "label": "Increase (Decrease) in Other Noncurrent Assets",
        "negatedLabel": "Other non-current assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherNoncurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in noncurrent operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Noncurrent Liabilities",
        "terseLabel": "Other non-current liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherNoncurrentLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r346",
      "r347",
      "r348",
      "r358",
      "r589"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-Based Payment Arrangements",
        "terseLabel": "Dilutive effect of Share-based awards"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r487",
      "r490"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type or class of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit.",
        "label": "Indefinite-Lived Intangible Assets [Axis]",
        "terseLabel": "Indefinite-lived Intangible Assets [Axis]"
       }
      }
     },
     "localname": "IndefiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r106",
      "r113"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The major class of indefinite-lived intangible asset (for example, trade names, etc. but not all-inclusive), excluding goodwill. A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of the company.",
        "label": "Indefinite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Indefinite-lived Intangible Assets, Major Class Name [Domain]"
       }
      }
     },
     "localname": "IndefiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r492"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all or part of the information related to intangible assets.",
        "label": "Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Intangible Assets, Net"
       }
      }
     },
     "localname": "IntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r103",
      "r108"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "terseLabel": "Intangible assets, net",
        "totalLabel": "Intangible Assets, Net (Excluding Goodwill), Total"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangible Assets, Net (Excluding Goodwill) [Abstract]"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwillAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestIncomeExpenseNonoperatingNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of nonoperating interest income (expense).",
        "label": "Interest Income (Expense), Nonoperating, Net",
        "terseLabel": "Interest income (expense), net",
        "verboseLabel": "Interest income, net"
       }
      }
     },
     "localname": "InterestIncomeExpenseNonoperatingNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r309",
      "r312",
      "r313"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "negatedLabel": "Cash payments for interest expenses"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryFinishedGoodsNetOfReserves": {
     "auth_ref": [
      "r101",
      "r919"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of merchandise or goods held by the company that are readily available for sale.",
        "label": "Inventory, Finished Goods, Net of Reserves",
        "terseLabel": "Inventories net of impairment reserve"
       }
      }
     },
     "localname": "InventoryFinishedGoodsNetOfReserves",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryNet": {
     "auth_ref": [
      "r286",
      "r914",
      "r954"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Net",
        "terseLabel": "Inventories",
        "totalLabel": "Inventory, Net, Total"
       }
      }
     },
     "localname": "InventoryNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "auth_ref": [
      "r268",
      "r285",
      "r364",
      "r469",
      "r470",
      "r471",
      "r803",
      "r924"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.",
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "InventoryPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InventoryValuationReserves": {
     "auth_ref": [
      "r100",
      "r976"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of valuation reserve for inventory.",
        "label": "Inventory Valuation Reserves",
        "verboseLabel": "Reserve for inventory"
       }
      }
     },
     "localname": "InventoryValuationReserves",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentHoldingsScheduleOfInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of data and information required in the supplementary schedule applicable to management investment companies listing holdings of unaffiliated investments.",
        "label": "Investment Holdings, Schedule of Investments [Table Text Block]",
        "terseLabel": "Schedule of Unrealized and Realized Gains and Losses of Equity Securities"
       }
      }
     },
     "localname": "InvestmentHoldingsScheduleOfInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentIncomeInterest": {
     "auth_ref": [
      "r51",
      "r379"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities.",
        "label": "Investment Income, Interest",
        "terseLabel": "Interest income, net"
       }
      }
     },
     "localname": "InvestmentIncomeInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentOwnedAtFairValue": {
     "auth_ref": [
      "r250",
      "r859",
      "r865"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of the investment at close of period. For schedules of investments that are categorized, the value would be aggregated by category. For investment in and advances to affiliates, if operations of any controlled companies are different in character from those of the company, group such affiliates within divisions and by type of activities.",
        "label": "Investment Owned, at Fair Value",
        "periodEndLabel": "Investment Owned, at Fair Value, Ending Balance",
        "periodStartLabel": "Investment Owned, at Fair Value, Beginning Balance",
        "verboseLabel": "Equity investments accounted for using the measurement alternative"
       }
      }
     },
     "localname": "InvestmentOwnedAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r431",
      "r1076"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r853",
      "r854",
      "r855",
      "r856",
      "r857",
      "r858",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r866",
      "r867",
      "r868",
      "r869"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type [Axis]"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r853",
      "r854",
      "r855",
      "r856",
      "r857",
      "r858",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r866",
      "r867",
      "r868",
      "r869"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]",
        "terseLabel": "Investments [Domain]"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Abstract]"
       }
      }
     },
     "localname": "InvestmentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsFairValueDisclosure": {
     "auth_ref": [
      "r699"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of investment securities, including, but not limited to, marketable securities, derivative financial instruments, and investments accounted for under the equity method.",
        "label": "Investments, Fair Value Disclosure",
        "terseLabel": "Investment in fair value method investment",
        "totalLabel": "Investments, Fair Value Disclosure, Total"
       }
      }
     },
     "localname": "InvestmentsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements [Member]",
        "terseLabel": "Leasehold Improvements [Member]"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "localname": "LeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee Disclosure [Abstract]"
       }
      }
     },
     "localname": "LesseeDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeasesPolicyTextBlock": {
     "auth_ref": [
      "r743"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for leasing arrangement entered into by lessee.",
        "label": "Lessee, Leases [Policy Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeLeasesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r1065"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Summary of Future lease Payments under Operating Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r749"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureLeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "totalLabel": "Total future lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r749"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r749"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Five",
        "terseLabel": "2027"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r749"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r749"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r749"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r749"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureLeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail2": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "terseLabel": "Less: Imputed interest"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r750"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for operating leases of lessee. Includes, but is not limited to, description of operating lease and maturity analysis of operating lease liability.",
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "Lease"
       }
      }
     },
     "localname": "LesseeOperatingLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/Lease"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r17",
      "r316",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r680",
      "r683",
      "r684",
      "r709",
      "r928",
      "r1019",
      "r1068",
      "r1069"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "terseLabel": "Total liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r14",
      "r218",
      "r240",
      "r954",
      "r992",
      "r1009",
      "r1064"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and shareholders' equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "LIABILITIES AND SHAREHOLDERS' EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r19",
      "r267",
      "r316",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r680",
      "r683",
      "r684",
      "r709",
      "r954",
      "r1019",
      "r1068",
      "r1069"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Current liabilities",
        "terseLabel": "Current liabilities of the VIEs and VIE's subsidiaries without recourse to the Company",
        "totalLabel": "Total current liabilities",
        "verboseLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "Current liabilities",
        "verboseLabel": "Current liabilities (including current liabilities of the VIEs and VIEs' subsidiaries without recourse to the Company amounting to RMB184,078 and RMB224,762 (US$32,588) as of December 31, 2021 and 2022, respectively) (Note 1)"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "auth_ref": [
      "r1",
      "r2",
      "r3",
      "r6",
      "r7",
      "r316",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r680",
      "r683",
      "r684",
      "r709",
      "r1019",
      "r1068",
      "r1069"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer.",
        "label": "Non-current liabilities",
        "terseLabel": "Non-current liabilities of the VIEs and VIE's subsidiaries without recourse to the Company",
        "totalLabel": "Total non-current liabilities",
        "verboseLabel": "Total non-current liabilities"
       }
      }
     },
     "localname": "LiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Noncurrent [Abstract]",
        "terseLabel": "Non-current liabilities (including non-current liabilities of the VIEs and VIEs' subsidiaries without recourse to the Company amounting to RMB7,947 and RMB2,339 (US$339) as of December 31, 2021 and 2022, respectively) (Note 1)"
       }
      }
     },
     "localname": "LiabilitiesNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilityForUncertainTaxPositionsNoncurrent": {
     "auth_ref": [
      "r23"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized for uncertainty in income taxes classified as noncurrent.",
        "label": "Liability for Uncertainty in Income Taxes, Noncurrent",
        "verboseLabel": "Uncertain tax position"
       }
      }
     },
     "localname": "LiabilityForUncertainTaxPositionsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableRelatedParties": {
     "auth_ref": [
      "r209",
      "r225"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, reflects the carrying amount of unpaid loan amounts due from related parties at the balance sheet date.",
        "label": "Loans and Leases Receivable, Related Parties",
        "periodEndLabel": "Loans and Leases Receivable, Related Parties, Ending Balance",
        "periodStartLabel": "Loans and Leases Receivable, Related Parties, Beginning Balance",
        "terseLabel": "Convertible and other loans with related parties"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r1004"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Accounts Receivable, Net"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LongLivedAssetsByGeographicAreasTableTextBlock": {
     "auth_ref": [
      "r90"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of long-lived assets, excluding financial instruments, long-term customer relationships of a financial institution, mortgage rights, deferred policy acquisition costs, and deferred tax assets, by geographic areas located in the entity's country of domicile and foreign countries in which the entity holds assets.",
        "label": "Long-Lived Assets by Geographic Areas [Table Text Block]",
        "terseLabel": "Schedule of property and equipment, net by geographical area"
       }
      }
     },
     "localname": "LongLivedAssetsByGeographicAreasTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LongTermInvestments": {
     "auth_ref": [
      "r271"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of investments that are intended to be held for an extended period of time (longer than one operating cycle).",
        "label": "Long-Term Investments",
        "totalLabel": "Long-Term Investments, Total",
        "verboseLabel": "Long-term investments"
       }
      }
     },
     "localname": "LongTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LossContingencyAccrualAtCarryingValue": {
     "auth_ref": [
      "r500",
      "r971"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss contingency liability.",
        "label": "Loss Contingency Accrual",
        "periodEndLabel": "Loss Contingency Accrual, Ending Balance",
        "periodStartLabel": "Loss Contingency Accrual, Beginning Balance",
        "verboseLabel": "Contingent liability"
       }
      }
     },
     "localname": "LossContingencyAccrualAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsContingenciesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MarketApproachValuationTechniqueMember": {
     "auth_ref": [
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach using price and other relevant information generated by market transaction involving identical or comparable asset, liability, or group of assets and liabilities.",
        "label": "Valuation, Market Approach [Member]"
       }
      }
     },
     "localname": "MarketApproachValuationTechniqueMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r1063"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input, Discount Rate [Member]",
        "terseLabel": "Discount Rate [Member]"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r701"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r29",
      "r217",
      "r239",
      "r316",
      "r432",
      "r505",
      "r508",
      "r509",
      "r510",
      "r516",
      "r517",
      "r709"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
        "label": "Stockholders' Equity Attributable to Noncontrolling Interest",
        "periodEndLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Beginning Balance",
        "terseLabel": "Noncontrolling interests",
        "totalLabel": "Stockholders' Equity Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NatureOfOperations": {
     "auth_ref": [
      "r368",
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the nature of an entity's business, major products or services, principal markets including location, and the relative importance of its operations in each business and the basis for the determination, including but not limited to, assets, revenues, or earnings. For an entity that has not commenced principal operations, disclosures about the risks and uncertainties related to the activities in which the entity is currently engaged and an understanding of what those activities are being directed toward.",
        "label": "Nature of Operations [Text Block]",
        "terseLabel": "Organization and Principal Activities"
       }
      }
     },
     "localname": "NatureOfOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r311"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "terseLabel": "Net cash (used in) provided by financing activities",
        "totalLabel": "Net cash used in financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "Cash flows from financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations": {
     "auth_ref": [
      "r987"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) of financing activities, excluding discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities, Continuing Operations",
        "terseLabel": "Net cash provided by financing activities",
        "totalLabel": "Net Cash Provided by (Used in) Financing Activities, Continuing Operations, Total"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r311"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash provided by investing activities",
        "verboseLabel": "Net cash provided by (used in) investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "Cash flows from investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations": {
     "auth_ref": [
      "r987"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) of investing activities, excluding discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities, Continuing Operations",
        "totalLabel": "Net Cash Provided by (Used in) Investing Activities, Continuing Operations, Total",
        "verboseLabel": "Net cash provided by (used in) investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r63",
      "r64",
      "r67"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash (used in) provided by operating activities",
        "verboseLabel": "Net cash (used in) provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Cash flows from operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations": {
     "auth_ref": [
      "r63",
      "r64",
      "r67"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, excluding discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities, Continuing Operations",
        "totalLabel": "Net Cash Provided by (Used in) Operating Activities, Continuing Operations, Total",
        "verboseLabel": "Net cash (used in) provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r43",
      "r67",
      "r230",
      "r247",
      "r265",
      "r294",
      "r297",
      "r301",
      "r316",
      "r327",
      "r331",
      "r332",
      "r334",
      "r335",
      "r339",
      "r340",
      "r354",
      "r386",
      "r397",
      "r403",
      "r406",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r697",
      "r709",
      "r929",
      "r1019"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net loss",
        "terseLabel": "Net (loss) income",
        "totalLabel": "Net income (loss)",
        "verboseLabel": "Net income (loss) attributable to Cheetah Mobile Inc."
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r174",
      "r186",
      "r294",
      "r297",
      "r339",
      "r340",
      "r982"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "totalLabel": "Net Income (Loss) Attributable to Noncontrolling Interest, Total",
        "verboseLabel": "Less: net loss attributable to noncontrolling interests"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r331",
      "r332",
      "r334",
      "r335",
      "r342",
      "r343",
      "r355",
      "r358",
      "r386",
      "r397",
      "r403",
      "r406",
      "r929"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "terseLabel": "Net income (loss) attributable to Cheetah Mobile Inc. after accretion of redeemable noncontrolling interests and dilution effect arising from share-based awards issued by subsidiaries",
        "totalLabel": "Net (loss) income attributable to Cheetah Mobile Inc. after accretion of redeemable noncontrolling interests and dilution effect arising from share-based awards issued by subsidiaries",
        "verboseLabel": "Net income (loss) attributable to Cheetah Mobile Inc. after accretion of redeemable noncontrolling interests and dilution effect arising from share-based awards issued by subsidiaries"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss) Available to Common Stockholders, Basic [Abstract]",
        "terseLabel": "Numerator:"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasicAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted": {
     "auth_ref": [
      "r344",
      "r350",
      "r351",
      "r352",
      "r353",
      "r355",
      "r358"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted",
        "terseLabel": "Net income (loss) attributable to ordinary shareholders",
        "totalLabel": "Net (loss) income attributable to ordinary shareholders"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersDiluted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss) Available to Common Stockholders, Diluted [Abstract]",
        "terseLabel": "Numerator:"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersDilutedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Recently issued accounting pronouncements"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncompeteAgreementsMember": {
     "auth_ref": [
      "r162"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agreement in which one party agrees not to pursue a similar trade in competition with another party.",
        "label": "Noncompete Agreements [Member]",
        "terseLabel": "Noncompete Agreements"
       }
      }
     },
     "localname": "NoncompeteAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsAndRelatedAccumulatedAmortizationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest": {
     "auth_ref": [
      "r139",
      "r172",
      "r175"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in noncontrolling interest from sale of a portion of the parent's controlling interest.",
        "label": "Noncontrolling Interest, Increase from Sale of Parent Equity Interest",
        "terseLabel": "Total consideration from disposal"
       }
      }
     },
     "localname": "NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r167",
      "r551",
      "r996",
      "r997",
      "r998"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Noncontrolling Interest [Member]"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoncurrentAssets": {
     "auth_ref": [
      "r410"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-lived assets other than financial instruments, long-term customer relationships of a financial institution, mortgage and other servicing rights, deferred policy acquisition costs, and deferred tax assets.",
        "label": "Long-Lived Assets",
        "terseLabel": "Property and equipment, net"
       }
      }
     },
     "localname": "NoncurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NonoperatingIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Nonoperating Income (Expense) [Abstract]",
        "terseLabel": "Other income (expenses)"
       }
      }
     },
     "localname": "NonoperatingIncomeExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NotesReceivableNet": {
     "auth_ref": [
      "r414",
      "r456"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amortized cost, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease.",
        "label": "Financing Receivable, after Allowance for Credit Loss",
        "terseLabel": "Convertible loan",
        "totalLabel": "Financing Receivable, after Allowance for Credit Loss, Total",
        "verboseLabel": "Convertible loans"
       }
      }
     },
     "localname": "NotesReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NumberOfBusinessesAcquired": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of businesses acquired by the entity during the period.",
        "label": "Number of Businesses Acquired",
        "terseLabel": "Number of Businesses Acquired"
       }
      }
     },
     "localname": "NumberOfBusinessesAcquired",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OpenTaxYear": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax year that remains open to examination under enacted tax laws, in YYYY format.",
        "label": "Open Tax Year",
        "terseLabel": "Taxable loss expiration Year"
       }
      }
     },
     "localname": "OpenTaxYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "gYearListItemType"
    },
    "us-gaap_OperatingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.",
        "label": "Operating Expenses",
        "negatedLabel": "Total operating expenses",
        "totalLabel": "Total operating expenses"
       }
      }
     },
     "localname": "OperatingExpenses",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Expenses [Abstract]",
        "terseLabel": "Operating expenses",
        "verboseLabel": "Operating income and expenses (a)"
       }
      }
     },
     "localname": "OperatingExpensesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingIncomeLoss": {
     "auth_ref": [
      "r386",
      "r397",
      "r403",
      "r406",
      "r929"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net result for the period of deducting operating expenses from operating revenues.",
        "label": "Operating Income (Loss)",
        "terseLabel": "Total operating loss",
        "totalLabel": "Operating loss"
       }
      }
     },
     "localname": "OperatingIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingIncomeLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Income (Loss) [Abstract]",
        "terseLabel": "Operating income (loss):"
       }
      }
     },
     "localname": "OperatingIncomeLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r744",
      "r953"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating lease cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r740"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureLeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail2": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Total lease liability balance",
        "totalLabel": "Operating Lease, Liability, Total"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r740"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 8.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "verboseLabel": "Operating lease liabilities current portion"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r741"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes current operating lease liability.",
        "label": "Operating Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r740"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Operating Lease, Liability, Noncurrent",
        "terseLabel": "Operating lease liabilities non-current portion"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r741"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes noncurrent operating lease liability.",
        "label": "Operating Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrentStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList": {
     "auth_ref": [
      "r741"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates line item in statement of financial position that includes operating lease liability.",
        "label": "Operating Lease, Liability, Statement of Financial Position [Extensible Enumeration]",
        "terseLabel": "Operating Lease, Liability, Statement of Financial Position [Extensible List]"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_OperatingLeasePayments": {
     "auth_ref": [
      "r742",
      "r746"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use.",
        "label": "Operating Lease, Payments",
        "negatedLabel": "Cash payments for operating leases"
       }
      }
     },
     "localname": "OperatingLeasePayments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r739"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r748",
      "r953"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Lease, weighted average discount rate"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r747",
      "r953"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Lease, weighted average remaining lease term"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingSegmentsMember": {
     "auth_ref": [
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r406"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Operating Segments [Member]",
        "terseLabel": "Operating Segments [Member]"
       }
      }
     },
     "localname": "OperatingSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r275"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Other non-current assets"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r169",
      "r170",
      "r176"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments, of appreciation (loss) in value of unsold available-for-sale securities, attributable to parent entity. Excludes amounts related to other than temporary impairment (OTTI) loss.",
        "label": "Other Comprehensive Income (Loss), Available-for-Sale Securities Adjustment, Net of Tax, Portion Attributable to Parent",
        "terseLabel": "Unrealized losses on available-for-sale securities, net",
        "totalLabel": "Other Comprehensive Income (Loss), Available-for-Sale Securities Adjustment, Net of Tax, Portion Attributable to Parent, Total",
        "verboseLabel": "Unrealized losses on available-for-sale securities, net"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r169",
      "r170",
      "r176"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature, attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax, Portion Attributable to Parent",
        "terseLabel": "Foreign currency translation adjustments",
        "totalLabel": "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax, Portion Attributable to Parent, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax": {
     "auth_ref": [
      "r36",
      "r300",
      "r723",
      "r725",
      "r729",
      "r980"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), before Reclassifications, before Tax",
        "verboseLabel": "Other comprehensive loss before reclassification"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r38",
      "r131",
      "r295",
      "r298",
      "r303",
      "r723",
      "r728",
      "r729",
      "r823",
      "r832",
      "r980",
      "r981"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Other comprehensive income (loss)",
        "totalLabel": "Other comprehensive (loss) income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r169",
      "r170",
      "r176",
      "r295",
      "r298"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to noncontrolling interests.",
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Noncontrolling Interest",
        "negatedLabel": "Other comprehensive income attribute to noncontrolling interests",
        "totalLabel": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Noncontrolling Interest, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r169",
      "r170",
      "r176",
      "r295",
      "r298"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
        "terseLabel": "Other comprehensive income (loss)",
        "totalLabel": "Other comprehensive (loss) income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]",
        "terseLabel": "Other comprehensive (loss) income, net of tax of nil",
        "verboseLabel": "Other comprehensive (loss) income, net of tax of nil"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossTax": {
     "auth_ref": [
      "r34",
      "r299",
      "r303",
      "r638",
      "r663",
      "r665",
      "r723",
      "r726",
      "r729",
      "r823",
      "r832"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) allocated to other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Tax",
        "terseLabel": "Other comprehensive income, tax expense or benefit",
        "totalLabel": "Other Comprehensive Income (Loss), Tax, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax": {
     "auth_ref": [
      "r289",
      "r292"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after tax and before adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, after Tax",
        "terseLabel": "Other Comprehensive Income Unrealized Holding Gain Loss On Securities"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherExpenseMember": {
     "auth_ref": [
      "r193"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other expense.",
        "label": "Other Expense [Member]"
       }
      }
     },
     "localname": "OtherExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherIncomeMember": {
     "auth_ref": [
      "r195"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing other revenue.",
        "label": "Other Income [Member]",
        "terseLabel": "Other Income [Member]"
       }
      }
     },
     "localname": "OtherIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherLiabilities": {
     "auth_ref": [
      "r223"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other.",
        "label": "Other Liabilities",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "OtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesAndDeferredRevenueNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate carrying amount, as of the balance sheet date, of noncurrent obligations and noncurrent portion of deferred revenue not separately disclosed in the balance sheet. Noncurrent liabilities are expected to be paid after one year (or the normal operating cycle, if longer). Deferred revenue is a liability related to a revenue producing activity for which revenue has not yet been recognized, and is not expected to be recognized in the next twelve months.",
        "label": "Other Liabilities and Deferred Revenue, Noncurrent",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherLiabilitiesAndDeferredRevenueNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesCurrent": {
     "auth_ref": [
      "r18",
      "r954"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail": {
       "order": 7.0,
       "parentTag": "us-gaap_AccruedLiabilitiesAndOtherLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Current",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r23"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Noncurrent",
        "terseLabel": "Other non-current liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Liabilities, Noncurrent [Abstract]"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherLongTermInvestmentsMember": {
     "auth_ref": [
      "r1078"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Long-term investments classified as other.",
        "label": "Other Long-Term Investments [Member]",
        "terseLabel": "Long-term Investment [Member]"
       }
      }
     },
     "localname": "OtherLongTermInvestmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherNonoperatingIncomeExpense": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (expense) related to nonoperating activities, classified as other.",
        "label": "Other Nonoperating Income (Expense)",
        "terseLabel": "Other income",
        "totalLabel": "Other Nonoperating Income (Expense), Total",
        "verboseLabel": "Other income (expense), net"
       }
      }
     },
     "localname": "OtherNonoperatingIncomeExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherPrepaidExpenseCurrent": {
     "auth_ref": [
      "r977",
      "r1011"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 6.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for other costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Other Prepaid Expense, Current",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherPrepaidExpenseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherReceivables": {
     "auth_ref": [
      "r282"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount due from parties in nontrade transactions, classified as other.",
        "label": "Other Receivables",
        "terseLabel": "Other receivables from advertisers"
       }
      }
     },
     "localname": "OtherReceivables",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ParentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portion of equity, or net assets, in the consolidated entity attributable, directly or indirectly, to the parent. Excludes noncontrolling interests.",
        "label": "Parent [Member]",
        "terseLabel": "Parent [Member]"
       }
      }
     },
     "localname": "ParentMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PayablesAndAccrualsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payables and Accruals [Abstract]"
       }
      }
     },
     "localname": "PayablesAndAccrualsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PaymentsForProceedsFromProductiveAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash outflow or inflow from purchases, sales and disposals of property, plant and equipment and other productive assets, including intangibles.",
        "label": "Payments for (Proceeds from) Productive Assets",
        "negatedLabel": "Proceeds from disposal of property and equipment and intangible assets",
        "totalLabel": "Payments for (Proceeds from) Productive Assets, Total"
       }
      }
     },
     "localname": "PaymentsForProceedsFromProductiveAssets",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire common stock during the period.",
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Share repurchase"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsMinorityInterest": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends provided by the non-wholly owned subsidiary to noncontrolling interests.",
        "label": "Payments of Ordinary Dividends, Noncontrolling Interest",
        "negatedLabel": "Payment of dividends to noncontrolling shareholders"
       }
      }
     },
     "localname": "PaymentsOfDividendsMinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r56",
      "r676"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments to Acquire Businesses, Gross",
        "terseLabel": "Cash consideration"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireEquityMethodInvestments": {
     "auth_ref": [
      "r56"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the purchase of or advances to an equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence.",
        "label": "Payments to Acquire Equity Method Investments",
        "negatedLabel": "Purchase of short-term investments",
        "terseLabel": "Purchase of short-term investments"
       }
      }
     },
     "localname": "PaymentsToAcquireEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireLongtermInvestments": {
     "auth_ref": [
      "r986"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, beyond the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the long-term.",
        "label": "Payments to Acquire Long-Term Investments",
        "negatedLabel": "Purchase of long-term investments"
       }
      }
     },
     "localname": "PaymentsToAcquireLongtermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireNotesReceivable": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to acquire an agreement for an unconditional promise by the maker to pay the entity (holder) a definite sum of money at a future date. Such amount may include accrued interest receivable in accordance with the terms of the note. The note also may contain provisions including a discount or premium, payable on demand, secured, or unsecured, interest bearing or noninterest bearing, among myriad other features and characteristics.",
        "label": "Payments to Acquire Notes Receivable",
        "negatedLabel": "Loans to third parties"
       }
      }
     },
     "localname": "PaymentsToAcquireNotesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToMinorityShareholders": {
     "auth_ref": [
      "r62"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow to a noncontrolling interest. Includes, but not limited to, reduction of noncontrolling interest ownership. Excludes dividends paid to the noncontrolling interest.",
        "label": "Payments to Noncontrolling Interests",
        "negatedLabel": "Purchase of shares from noncontrolling shareholders"
       }
      }
     },
     "localname": "PaymentsToMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "auth_ref": [
      "r566",
      "r567",
      "r573",
      "r574",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r585",
      "r943"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for retirement benefits.",
        "label": "Retirement Benefits [Text Block]",
        "terseLabel": "Employee Benefit"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefit"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1044",
      "r1045",
      "r1046",
      "r1047",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1052"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [
      "r1027",
      "r1028",
      "r1029",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042",
      "r1043",
      "r1044",
      "r1045",
      "r1046",
      "r1047",
      "r1048",
      "r1049",
      "r1050",
      "r1051",
      "r1052"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockRedemptionAmount": {
     "auth_ref": [
      "r25",
      "r130"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The redemption (or callable) amount of currently redeemable preferred stock. Includes amounts representing dividends not currently declared or paid but which will be payable under the redemption features or for which ultimate payment is solely within the control of the issuer.",
        "label": "Preferred Stock, Redemption Amount",
        "verboseLabel": "Redeemable preferred shares"
       }
      }
     },
     "localname": "PreferredStockRedemptionAmount",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r979"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Current",
        "terseLabel": "Prepayments and other current assets, net",
        "totalLabel": "Total",
        "verboseLabel": "Prepayments and other current assets, net"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepaid Expense and Other Assets, Current [Abstract]"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PrepaidExpenseCurrent": {
     "auth_ref": [
      "r287",
      "r472",
      "r473",
      "r916"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 4.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense, Current",
        "terseLabel": "Prepaid expenses",
        "totalLabel": "Prepaid Expense, Current, Total"
       }
      }
     },
     "localname": "PrepaidExpenseCurrent",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing prepaid expenses and other current assets.",
        "label": "Prepaid Expenses and Other Current Assets [Member]",
        "terseLabel": "Prepaid Expenses and Other Current Assets [Member]"
       }
      }
     },
     "localname": "PrepaidExpensesAndOtherCurrentAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ProceedsFromBankDebt": {
     "auth_ref": [
      "r59"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from bank borrowing during the year.",
        "label": "Proceeds from Bank Debt",
        "terseLabel": "Proceeds from bank loans"
       }
      }
     },
     "localname": "ProceedsFromBankDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromCollectionOfNotesReceivable": {
     "auth_ref": [
      "r53"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with principal collections from a borrowing supported by a written promise to pay an obligation.",
        "label": "Proceeds from Collection of Notes Receivable",
        "terseLabel": "Repayment of loans from third parties"
       }
      }
     },
     "localname": "ProceedsFromCollectionOfNotesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfShorttermInvestments": {
     "auth_ref": [
      "r54",
      "r57"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from maturities, prepayments, calls and collections of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.",
        "label": "Proceeds from Maturities, Prepayments and Calls of Short-Term Investments",
        "terseLabel": "Proceeds from maturity of short-term investments"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfShorttermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfLongtermInvestments": {
     "auth_ref": [
      "r985"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from sales of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, beyond the current operating cycle.",
        "label": "Proceeds from Sale of Long-Term Investments",
        "terseLabel": "Proceeds from disposal of long-term investments"
       }
      }
     },
     "localname": "ProceedsFromSaleOfLongtermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r58",
      "r150"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Proceeds and advance from share-based awards"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r265",
      "r294",
      "r297",
      "r310",
      "r316",
      "r327",
      "r339",
      "r340",
      "r386",
      "r397",
      "r403",
      "r406",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r678",
      "r681",
      "r682",
      "r697",
      "r709",
      "r828",
      "r929",
      "r951",
      "r952",
      "r982",
      "r1019"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income (loss)",
        "totalLabel": "Net income (loss)",
        "verboseLabel": "Net income (loss)"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r119"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]",
        "terseLabel": "Property, Plant and Equipment, Type [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r121",
      "r875",
      "r876",
      "r877"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property and Equipment, Net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentFairValueDisclosure": {
     "auth_ref": [
      "r1062"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant, and Equipment, Fair Value Disclosure",
        "terseLabel": "Property and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r117",
      "r272"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "periodEndLabel": "Property, Plant and Equipment, Gross, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Gross, Beginning Balance",
        "terseLabel": "Property plant and equipment, gross",
        "totalLabel": "Property, Plant and Equipment, Gross, Total"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]",
        "terseLabel": "Property, Plant and Equipment [Line Items]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r119",
      "r241",
      "r829",
      "r954"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsNoncurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "negatedLabel": "Total (losses) gains,Property and equipment, net",
        "terseLabel": "Property and equipment, net",
        "totalLabel": "Property and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r119",
      "r875",
      "r876"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r119"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Schedule of property and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]",
        "terseLabel": "Property, Plant and Equipment, Type [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Estimated useful life of the property and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForDoubtfulAccounts": {
     "auth_ref": [
      "r308",
      "r446"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
        "label": "Accounts Receivable, Credit Loss Expense (Reversal)",
        "verboseLabel": "Provision for doubtful accounts receivable"
       }
      }
     },
     "localname": "ProvisionForDoubtfulAccounts",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum amount of purchase arrangement in which the entity has agreed to expend funds to procure goods or services from a supplier.",
        "label": "Purchase Obligation",
        "totalLabel": "Purchase Obligation, Total",
        "verboseLabel": "Total"
       }
      }
     },
     "localname": "PurchaseObligation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingenciesSummaryOfCommitmentForCloudServicesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligationDueInNextTwelveMonths": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchase arrangement to be paid in next fiscal year following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Purchase Obligation, to be Paid, Year One",
        "verboseLabel": "Less than 1 Year"
       }
      }
     },
     "localname": "PurchaseObligationDueInNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingenciesSummaryOfCommitmentForCloudServicesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligationDueInSecondAndThirdYear": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchase arrangement to be paid in second and third fiscal years following current fiscal year. Includes, but is not limited to, recorded and unrecorded purchase obligations, long-term purchase commitment, and short-term purchase commitment. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Purchase Obligation, to be Paid, Year Two and Three",
        "totalLabel": "Purchase Obligation, to be Paid, Year Two and Three, Total",
        "verboseLabel": "1-3 Years"
       }
      }
     },
     "localname": "PurchaseObligationDueInSecondAndThirdYear",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingenciesSummaryOfCommitmentForCloudServicesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PurchaseObligationFiscalYearMaturityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase Obligation, Fiscal Year Maturity [Abstract]"
       }
      }
     },
     "localname": "PurchaseObligationFiscalYearMaturityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReceivableTypeDomain": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing arrangement representing a contractual right to receive money either on demand or on fixed and determinable dates.",
        "label": "Receivable [Domain]"
       }
      }
     },
     "localname": "ReceivableTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables [Abstract]"
       }
      }
     },
     "localname": "ReceivablesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information about items reclassified out of accumulated other comprehensive income (loss).",
        "label": "Reclassification out of Accumulated Other Comprehensive Income [Table Text Block]",
        "terseLabel": "Schedule of components of accumulated other comprehensive income"
       }
      }
     },
     "localname": "ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RecordedUnconditionalPurchaseObligationsTextBlock": {
     "auth_ref": [
      "r124",
      "r1013"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of unconditional purchase obligation recognized as liability.",
        "label": "Recorded Unconditional Purchase Obligations [Table Text Block]",
        "verboseLabel": "Summary Of Commitment For Cloud Services"
       }
      }
     },
     "localname": "RecordedUnconditionalPurchaseObligationsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CommitmentsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ReductionInTaxesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A potential favorable financial consequence resulting from a ruling or change in tax laws.",
        "label": "Reduction in Taxes [Member]",
        "terseLabel": "Reduction in Taxes [Member]"
       }
      }
     },
     "localname": "ReductionInTaxesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RegulatoryIncomeTaxesPolicy": {
     "auth_ref": [
      "r252",
      "r253"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, including investment tax credits, and the related regulatory treatment (for example, whether deferred income tax accounting - normalization - is allowed in rate making).",
        "label": "Regulatory Income Taxes, Policy [Policy Text Block]",
        "terseLabel": "Income taxes"
       }
      }
     },
     "localname": "RegulatoryIncomeTaxesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r575",
      "r759",
      "r760"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]",
        "terseLabel": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionAmountsOfTransaction": {
     "auth_ref": [
      "r211",
      "r759"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transactions with related party during the financial reporting period.",
        "label": "Related Party Transaction, Amounts of Transaction",
        "terseLabel": "Amount"
       }
      }
     },
     "localname": "RelatedPartyTransactionAmountsOfTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionAxis": {
     "auth_ref": [
      "r257",
      "r759",
      "r760",
      "r1067"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party transaction.",
        "label": "Related Party Transaction [Axis]",
        "terseLabel": "Related Party Transaction [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionDomain": {
     "auth_ref": [
      "r257"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transaction between related party.",
        "label": "Related Party Transaction [Domain]",
        "terseLabel": "Related Party Transaction [Domain]"
       }
      }
     },
     "localname": "RelatedPartyTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Related Party Transaction [Line Items]",
        "terseLabel": "Related Party Transaction [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r575",
      "r759",
      "r810",
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818",
      "r819",
      "r820",
      "r821",
      "r1067"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]",
        "terseLabel": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r757",
      "r758",
      "r760",
      "r762",
      "r763"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfBankDebt": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to settle a bank borrowing during the year.",
        "label": "Repayments of Bank Debt",
        "negatedLabel": "Repayment for bank loans"
       }
      }
     },
     "localname": "RepaymentsOfBankDebt",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption in which the reported facts about research and development expense have been included.",
        "label": "Research and Development Expense [Member]",
        "terseLabel": "Research and Development Expense [Member]",
        "verboseLabel": "Research and development [Member]"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResearchAndDevelopmentExpensePolicy": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for costs it has incurred (1) in a planned search or critical investigation aimed at discovery of new knowledge with the hope that such knowledge will be useful in developing a new product or service, a new process or technique, or in bringing about a significant improvement to an existing product or process; or (2) to translate research findings or other knowledge into a plan or design for a new product or process or for a significant improvement to an existing product or process.",
        "label": "Research and Development Expense, Policy [Policy Text Block]",
        "terseLabel": "Research and development expenses"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpensePolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r68",
      "r74",
      "r269"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Restricted Cash and Cash Equivalents, Current",
        "terseLabel": "Restricted cash",
        "totalLabel": "Restricted Cash and Cash Equivalents, Current, Total"
       }
      }
     },
     "localname": "RestrictedCashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r76"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met.",
        "label": "Restricted Stock [Member]",
        "terseLabel": "Restricted Stock [Member]"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r11",
      "r138",
      "r238",
      "r846",
      "r851",
      "r954"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings",
        "totalLabel": "Total retained earnings (accumulated losses)",
        "verboseLabel": "Retained earnings/(Accumulated losses)"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAppropriated": {
     "auth_ref": [
      "r30",
      "r127",
      "r128",
      "r233",
      "r315"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail": {
       "order": 0.0,
       "parentTag": "us-gaap_RetainedEarningsAccumulatedDeficit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is unavailable for dividend distribution. Includes also retained earnings appropriated for loss contingencies.",
        "label": "Retained Earnings, Appropriated",
        "terseLabel": "PRC statutory reserve funds"
       }
      }
     },
     "localname": "RetainedEarningsAppropriated",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r260",
      "r323",
      "r324",
      "r325",
      "r328",
      "r337",
      "r340",
      "r436",
      "r627",
      "r628",
      "r629",
      "r654",
      "r655",
      "r695",
      "r842",
      "r844"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings [Member]"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsUnappropriated": {
     "auth_ref": [
      "r10",
      "r237",
      "r315"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_RetainedEarningsAccumulatedDeficit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A segregation of retained earnings which is available for dividend distribution. Earnings not paid out as dividends but instead reinvested in the core business or used to pay off debt. Unappropriated profit is part of shareholder equity. Also called cumulative distributions or earned surplus or accumulated earnings or unappropriated profit.",
        "label": "Retained Earnings, Unappropriated",
        "terseLabel": "Unreserved retained earnings",
        "verboseLabel": "Unreserved retained earnings /(losses)"
       }
      }
     },
     "localname": "RetainedEarningsUnappropriated",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "auth_ref": [
      "r377",
      "r378",
      "r396",
      "r401",
      "r402",
      "r408",
      "r409",
      "r412",
      "r562",
      "r563",
      "r804"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 0.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax",
        "terseLabel": "Total Revenues",
        "verboseLabel": "Revenues"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerPolicyTextBlock": {
     "auth_ref": [
      "r554",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r565",
      "r925"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue from contract with customer.",
        "label": "Revenue from Contract with Customer [Policy Text Block]",
        "terseLabel": "Deferred revenue"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueFromRelatedParties": {
     "auth_ref": [
      "r45",
      "r251",
      "r507",
      "r508",
      "r509",
      "r515",
      "r516",
      "r517"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue, fees and commissions earned from transactions between (a) a parent company and its subsidiaries; (b) subsidiaries of a common parent; (c) an entity and trusts for the benefit of employees, for example, but not limited to, pension and profit-sharing trusts that are managed by or under the trusteeship of the entity's management; (d) an entity and its principal, owners, management, or members of their immediate families; and (e) affiliates.",
        "label": "Revenue from Related Parties",
        "terseLabel": "Amount of transactions with related parties"
       }
      }
     },
     "localname": "RevenueFromRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r925",
      "r926"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue [Policy Text Block]",
        "terseLabel": "Revenue recognition"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r302",
      "r316",
      "r377",
      "r378",
      "r396",
      "r401",
      "r402",
      "r408",
      "r409",
      "r412",
      "r432",
      "r505",
      "r506",
      "r508",
      "r509",
      "r510",
      "r512",
      "r514",
      "r516",
      "r517",
      "r709",
      "r828",
      "r1019"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "terseLabel": "Revenues",
        "totalLabel": "Revenues, Total"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "Revenues (a)",
        "verboseLabel": "Revenues:"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Revenues from External Customers and Long-Lived Assets [Line Items]",
        "terseLabel": "Revenues from External Customers and Long-Lived Assets [Line Items]"
       }
      }
     },
     "localname": "RevenuesFromExternalCustomersAndLongLivedAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction.",
        "label": "Sale of Stock, Number of Shares Issued in Transaction",
        "terseLabel": "Shares transferred"
       }
      }
     },
     "localname": "SaleOfStockNumberOfSharesIssuedInTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SaleOfStockPercentageOfOwnershipAfterTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of subsidiary's or equity investee's stock owned by parent company after stock transaction.",
        "label": "Sale of Stock, Percentage of Ownership after Transaction",
        "terseLabel": "Ownership interest, subsequent to transaction"
       }
      }
     },
     "localname": "SaleOfStockPercentageOfOwnershipAfterTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SaleOfStockPercentageOfOwnershipBeforeTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of subsidiary's or equity investee's stock owned by parent company before stock transaction.",
        "label": "Sale of Stock, Percentage of Ownership before Transaction",
        "terseLabel": "Sale of Stock, Percentage of Ownership before Transaction"
       }
      }
     },
     "localname": "SaleOfStockPercentageOfOwnershipBeforeTransaction",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_SalesMember": {
     "auth_ref": [
      "r193"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing revenue from sale of goods and services rendered in the normal course of business.",
        "label": "Sales [Member]",
        "terseLabel": "Sales [Member]"
       }
      }
     },
     "localname": "SalesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SalesRevenueNetMember": {
     "auth_ref": [
      "r412",
      "r1001"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue from sale of product and rendering of service and other sources of income, when it serves as benchmark in concentration of risk calculation.",
        "label": "Revenue Benchmark [Member]",
        "terseLabel": "Total Revenue [Member]"
       }
      }
     },
     "localname": "SalesRevenueNetMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule itemizing specific types of trade accounts and notes receivable, and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsSummaryOfAccountsReceivableRelatedPartyDebtAllowanceForCreditLossDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
        "terseLabel": "Schedule of accounts receivable"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r160",
      "r161",
      "r671"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]",
        "terseLabel": "Schedule of Business Acquisitions, by Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidationsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of cost recognized for award under share-based payment arrangement by plan. Includes, but is not limited to, related tax benefit.",
        "label": "Share-Based Payment Arrangement, Cost by Plan [Table Text Block]",
        "terseLabel": "Schedule of share-based compensation expenses by function"
       }
      }
     },
     "localname": "ScheduleOfCompensationCostForShareBasedPaymentArrangementsAllocationOfShareBasedCompensationCostsByPlanTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r158"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "terseLabel": "Schedule of current and deferred portions of income tax expenses"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r157"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of deferred tax assets and deferred tax liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r1000"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of computation of basic and diluted earnings (Loss) per share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Reconciliation of the differences between the statutory tax rate and the effective tax rate for enterprise income tax"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "auth_ref": [
      "r149"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of allocation of amount expensed and capitalized for award under share-based payment arrangement to statement of income or comprehensive income and statement of financial position. Includes, but is not limited to, corresponding line item in financial statement.",
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block]",
        "terseLabel": "Schedule of share-based compensation expense by function"
       }
      }
     },
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r699",
      "r700"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of assets and liabilities measured or disclosed at fair value"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r891",
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetScheduleOfMovementInTheAllowanceForCreditLossesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r105",
      "r109",
      "r805"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]",
        "terseLabel": "Schedule of Finite-Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsEstimatedAmortizationExpenseDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock": {
     "auth_ref": [
      "r993"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of income before income tax between domestic and foreign jurisdictions.",
        "label": "Schedule of Income before Income Tax, Domestic and Foreign [Table Text Block]",
        "terseLabel": "Schedule of income (loss) before income taxes"
       }
      }
     },
     "localname": "ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A tabular presentation of the information summarizing investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates, as prescribed by the SEC. It reflects specified information about ownership, financial results from, and financial position in such entities. Includes the tabular presentations that disaggregate investments in and advances to majority-owned subsidiaries, other controlled companies, and other affiliates.",
        "label": "Schedule of Investments in and Advances to Affiliates, Schedule of Investments [Table Text Block]",
        "terseLabel": "Schedule of percentage of ownership in subsidiaries, its VIEs and its equity investees"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsInAndAdvancesToAffiliatesScheduleOfInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r119"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]",
        "terseLabel": "Property, Plant and Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable": {
     "auth_ref": [
      "r210",
      "r211"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of quantitative and qualitative information pertaining to related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Schedule of Related Party Transactions, by Related Party [Table]",
        "terseLabel": "Schedule of Related Party Transactions, by Related Party [Table]"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of related party transactions. Examples of related party transactions include, but are not limited to, transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners and (d) affiliates.",
        "label": "Schedule of Related Party Transactions [Table Text Block]",
        "terseLabel": "Schedule of material related party transactions"
       }
      }
     },
     "localname": "ScheduleOfRelatedPartyTransactionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock": {
     "auth_ref": [
      "r46",
      "r89"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the names of foreign countries from which revenue is material and the amount of revenue from external customers attributed to those countries. An entity may also provide subtotals of geographic information about groups of countries.",
        "label": "Schedule of Revenue from External Customers Attributed to Foreign Countries by Geographic Area [Table Text Block]",
        "terseLabel": "Schedule of revenues by geographical area"
       }
      }
     },
     "localname": "ScheduleOfRevenueFromExternalCustomersAttributedToForeignCountriesByGeographicAreaTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable": {
     "auth_ref": [
      "r40",
      "r91"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of material long-lived assets (excluding financial instruments, customer relationships with financial institutions, mortgage and other servicing rights, deferred policy acquisition costs, and deferred taxes assets) located in identified geographic areas and/or the amount of revenue from external customers attributed to that country from which revenue is material. An entity may also provide subtotals of geographic information about groups of countries.",
        "label": "Schedule of Revenues from External Customers and Long-Lived Assets [Table]",
        "terseLabel": "Schedule of Revenues from External Customers and Long-Lived Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationScheduleOfRevenuesAndPropertyAndEquipmentParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r85",
      "r86",
      "r87",
      "r102"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Summary of Revenue from Each Segment, Income from Operations"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r586",
      "r588",
      "r591",
      "r592",
      "r593",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r615",
      "r616",
      "r617",
      "r618",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table]",
        "terseLabel": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "auth_ref": [
      "r148"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
        "label": "Schedule of Share-Based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
        "terseLabel": "Summary of assumptions used in calculating fair value of options"
       }
      }
     },
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of the number and weighted-average grant date fair value for restricted stock and restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock and restricted stock units that were granted, vested, or forfeited during the year.",
        "label": "Share-Based Payment Arrangement, Restricted Stock and Restricted Stock Unit, Activity [Table Text Block]",
        "terseLabel": "Restricted shares activity"
       }
      }
     },
     "localname": "ScheduleOfSharebasedCompensationRestrictedStockAndRestrictedStockUnitsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r125",
      "r126",
      "r129",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r277",
      "r278",
      "r279",
      "r366",
      "r535",
      "r536",
      "r537",
      "r539",
      "r543",
      "r548",
      "r550",
      "r938",
      "r970",
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
        "label": "Schedule of Stock by Class [Table]",
        "terseLabel": "Schedule of Stock by Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityScheduleOfRetainedEarningsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock": {
     "auth_ref": [
      "r950",
      "r1057"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the change in unrecognized tax benefits.",
        "label": "Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]",
        "terseLabel": "Reconciliation of the beginning and ending amount of unrecognized tax benefit"
       }
      }
     },
     "localname": "ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTable": {
     "auth_ref": [
      "r179",
      "r180",
      "r182",
      "r183",
      "r184",
      "r679",
      "r680",
      "r683",
      "r684",
      "r783",
      "r784",
      "r785"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of qualitative and quantitative information related to variable interests the entity holds, whether or not such variable interest entity (VIE) is included in the reporting entity's consolidated financial statements. Includes, but is not limited to, description of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a tabular comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table]",
        "terseLabel": "Schedule of Variable Interest Entities [Table]"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfVariableInterestEntitiesTextBlock": {
     "auth_ref": [
      "r179",
      "r180",
      "r182",
      "r183",
      "r184"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the significant judgments and assumptions made in determining whether a variable interest (as defined) held by the entity requires the variable interest entity (VIE) (as defined) to be consolidated and (or) disclose information about its involvement with the VIE, individually or in aggregate (as applicable); the nature of restrictions, if any, on the consolidated VIE's assets and on the settlement of its liabilities reported by an entity in its statement of financial position, including the carrying amounts of such assets and liabilities; the nature of, and changes in, the risks associated with involvement in the VIE; how involvement with the VIE affects the entity's financial position, financial performance, and cash flows; the lack of recourse if creditors (or beneficial interest holders) of the consolidated VIE have no recourse to the general credit of the primary beneficiary (if applicable); the terms of arrangements, giving consideration to both explicit arrangements and implicit variable interests, if any, that could require the entity to provide financial support to the VIE, including events or circumstances that could expose the entity to a loss; the methodology used by the entity for determining whether or not it is the primary beneficiary of the variable interest entity; the significant factors considered and judgments made in determining that the power to direct the activities of a VIE that most significantly impact the VIE's economic performance are shared (as defined); the carrying amounts and classification of assets and liabilities of the VIE included in the statement of financial position; the entity's maximum exposure to loss, if any, as a result of its involvement with the VIE, including how the maximum exposure is determined and significant sources of the entity's exposure to the VIE; a comparison of the carrying amounts of the assets and liabilities and the entity's maximum exposure to loss; information about any liquidity arrangements, guarantees, and (or) other commitments by third parties that may affect the fair value or risk of the entity's variable interest in the VIE; whether or not the entity has provided financial support or other support (explicitly or implicitly) to the VIE that it was not previously contractually required to provide or whether the entity intends to provide that support, including the type and amount of the support and the primary reasons for providing the support; and supplemental information the entity determines necessary to provide.",
        "label": "Schedule of Variable Interest Entities [Table Text Block]",
        "terseLabel": "Schedule of carrying amounts and classifications of the assets and liabilities of the VIEs and subsidiaries of VIEs"
       }
      }
     },
     "localname": "ScheduleOfVariableInterestEntitiesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r109"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Schedule of future amortization expense"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r374",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r406",
      "r412",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r496",
      "r497",
      "r932",
      "r1077"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segments [Domain]",
        "terseLabel": "Segments [Domain]"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r374",
      "r375",
      "r376",
      "r386",
      "r389",
      "r400",
      "r404",
      "r405",
      "r406",
      "r407",
      "r408",
      "r411",
      "r412",
      "r413"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Information"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "terseLabel": "Segment reporting"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentsGeographicalAreasAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segments, Geographical Areas [Abstract]"
       }
      }
     },
     "localname": "SegmentsGeographicalAreasAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SellingAndMarketingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss": {
       "order": 1.0,
       "parentTag": "cmcm_OperatingExpensesAndOtherOperatingIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total amount of expenses directly related to the marketing or selling of products or services.",
        "label": "Selling and Marketing Expense",
        "negatedLabel": "Selling and marketing",
        "totalLabel": "Selling and Marketing Expense, Total"
       }
      }
     },
     "localname": "SellingAndMarketingExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SellingAndMarketingExpenseMember": {
     "auth_ref": [
      "r44"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing selling and marketing expense.",
        "label": "Selling and Marketing Expense [Member]",
        "terseLabel": "Selling and Marketing Expense [Member]",
        "verboseLabel": "Selling and Marketing [Member]"
       }
      }
     },
     "localname": "SellingAndMarketingExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Noncash Expense",
        "terseLabel": "Share-based compensation expenses",
        "totalLabel": "Share-Based Payment Arrangement, Noncash Expense, Total"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r947"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Period",
        "terseLabel": "Vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Additional Disclosures [Abstract]",
        "terseLabel": "Weighted Average Remaining Contractual Term"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r608"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedLabel": "Forfeited",
        "negatedTerseLabel": "Number\u00a0of ordinary\u00a0shares, Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r608"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Forfeited (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Granted",
        "verboseLabel": "Number\u00a0of ordinary\u00a0shares, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r606"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Granted",
        "verboseLabel": "Granted (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r603",
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Unvested at end of year",
        "periodStartLabel": "Unvested at beginning of year",
        "terseLabel": "Unvested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r603",
      "r604"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Unvested at end of year (in dollars per share)",
        "periodStartLabel": "Unvested at beginning of year (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
        "terseLabel": "Weighted Average Grant Date Fair Value"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms": {
     "auth_ref": [
      "r147"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining contractual term for equity-based awards excluding options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Outstanding, Weighted Average Remaining Contractual Terms",
        "terseLabel": "Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedLabel": "Number\u00a0of ordinary\u00a0shares, Vested",
        "negatedTerseLabel": "Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue": {
     "auth_ref": [
      "r610"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value",
        "terseLabel": "Total fair value of vested shares"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r607"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value as of grant date pertaining to an equity-based award plan other than a stock (or unit) option plan for which the grantee gained the right during the reporting period, by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash in accordance with the terms of the arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Vested (in dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate": {
     "auth_ref": [
      "r617"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Dividend Rate",
        "terseLabel": "Expected dividend yield"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "auth_ref": [
      "r616"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
        "terseLabel": "Expected volatility range"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the maximum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate, Maximum",
        "terseLabel": "Expected volatility range, maximum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimated measure of the minimum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Expected Volatility Rate, Minimum",
        "terseLabel": "Expected volatility range, minimum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "auth_ref": [
      "r618"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
        "terseLabel": "Risk-free interest rates"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Maximum",
        "terseLabel": "Risk-free interest rates, maximum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum risk-free interest rate assumption that is used in valuing an option on its own shares.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Minimum",
        "terseLabel": "Risk-free interest rates, minimum"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationExpensesRecordedByGroupDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised": {
     "auth_ref": [
      "r145"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of non-option equity instruments exercised by participants.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Non-Option Equity Instruments, Exercised",
        "negatedLabel": "Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures": {
     "auth_ref": [
      "r146"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares under non-option equity instrument agreements that were cancelled as a result of occurrence of a terminating event.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Non-Option Equity Instruments, Forfeitures",
        "negatedLabel": "Forfeited",
        "terseLabel": "Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted": {
     "auth_ref": [
      "r144"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net number of non-option equity instruments granted to participants.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Non-Option Equity Instruments, Granted",
        "terseLabel": "Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber": {
     "auth_ref": [
      "r142",
      "r143"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of equity instruments other than options outstanding, including both vested and non-vested instruments.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Non-Option Equity Instruments, Outstanding, Number",
        "periodEndLabel": "Outstanding at the end of the year",
        "periodStartLabel": "Outstanding at the beginning of the year"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Non-Option Equity Instruments, Outstanding [Roll Forward]",
        "terseLabel": "Number of shares"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r949"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized",
        "terseLabel": "Number of shares subject to award",
        "verboseLabel": "Aggregate number of shares to be issued or transferred"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r609"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Fair value per option granted (US$)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost": {
     "auth_ref": [
      "r624"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An excess of the fair value of the modified award over the fair value of the award immediately before the modification.",
        "label": "Share-Based Payment Arrangement, Plan Modification, Incremental Cost",
        "terseLabel": "Stock options, incremental cost as a result of modification"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r591",
      "r592",
      "r593",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r601",
      "r602",
      "r603",
      "r604",
      "r605",
      "r606",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r612",
      "r615",
      "r616",
      "r617",
      "r618",
      "r619"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Equity Award [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2011ShareAwardSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r594",
      "r613",
      "r614",
      "r615",
      "r616",
      "r619",
      "r630",
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-Based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Share-based compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks of a company.",
        "label": "Share Price",
        "terseLabel": "Fair value of ordinary share (US$)"
       }
      }
     },
     "localname": "SharePrice",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1": {
     "auth_ref": [
      "r620"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost expensed and capitalized for award under share-based payment arrangement.",
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount",
        "terseLabel": "Share-based compensation expenses",
        "totalLabel": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount, Total"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationScheduleOfShareBasedCompensationExpensesOfSubsidiariesShareBasedAwardsRecognizedByTheGroupDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value [Abstract]",
        "terseLabel": "Aggregate Intrinsic Value"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intrinsic value of outstanding award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Outstanding",
        "terseLabel": "Outstanding at the end of the year",
        "verboseLabel": "Aggregate Intrinsic Value"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2013IncentiveSchemeDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation2014RestrictedSharesPlanDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r948"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period",
        "terseLabel": "Award scheme term"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "periodEndLabel": "Balance (in shares)",
        "periodStartLabel": "Balance (in shares)"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermInvestments": {
     "auth_ref": [
      "r219",
      "r220",
      "r234",
      "r978"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current.",
        "label": "Short-Term Investments",
        "totalLabel": "Short-Term Investments, Total",
        "verboseLabel": "Short-term investments"
       }
      }
     },
     "localname": "ShortTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShortTermInvestmentsMember": {
     "auth_ref": [
      "r867",
      "r868",
      "r869",
      "r958"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments which are not otherwise included in another category or item that the entity has the intent to sell or dispose of within one year from the date of the balance sheet.",
        "label": "Short-Term Investments [Member]",
        "terseLabel": "Short-term Investments [Member]"
       }
      }
     },
     "localname": "ShortTermInvestmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShortTermLeaseCost": {
     "auth_ref": [
      "r745",
      "r953"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of short-term lease cost, excluding expense for lease with term of one month or less.",
        "label": "Short-Term Lease, Cost",
        "terseLabel": "Cost of short-term lease contracts"
       }
      }
     },
     "localname": "ShortTermLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r75",
      "r314"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r264",
      "r374",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r383",
      "r384",
      "r385",
      "r386",
      "r387",
      "r388",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r406",
      "r412",
      "r475",
      "r476",
      "r477",
      "r478",
      "r479",
      "r480",
      "r481",
      "r482",
      "r483",
      "r494",
      "r496",
      "r497",
      "r932",
      "r1077"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]",
        "terseLabel": "Segments [Axis]"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r277",
      "r278",
      "r279",
      "r316",
      "r345",
      "r349",
      "r356",
      "r358",
      "r366",
      "r367",
      "r432",
      "r505",
      "r508",
      "r509",
      "r510",
      "r516",
      "r517",
      "r535",
      "r536",
      "r539",
      "r543",
      "r550",
      "r709",
      "r890",
      "r970",
      "r990",
      "r999"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock [Axis]"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/CoverPage",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r27",
      "r131",
      "r260",
      "r299",
      "r300",
      "r301",
      "r323",
      "r324",
      "r325",
      "r328",
      "r337",
      "r340",
      "r365",
      "r436",
      "r551",
      "r627",
      "r628",
      "r629",
      "r654",
      "r655",
      "r695",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r729",
      "r756",
      "r842",
      "r843",
      "r844"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityComponentsOfAccumulatedOtherComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNet",
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilities",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompany",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidations",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShare",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareTables",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNet",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefit",
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefitAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurement",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformation",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxes",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNet",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsTables",
      "http://www.cmcm.com/20221231/taxonomy/role/Lease",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseTables",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivities",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNet",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactions",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformation",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationSummaryOfAssumptionsUsedForGrantDateFairValueUnderBinomialTreeOptionPricingModelDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityTables",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]",
        "terseLabel": "Balance sheet data:"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureInvestmentsUnauditedCondensedFinancialInformationEquityInvestmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfIncomeAndComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r323",
      "r324",
      "r325",
      "r365",
      "r804"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNet",
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccountsReceivableNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilities",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesScheduleOfAccruedExpensesAndOtherLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesSummaryOfOtherNonCurrentLiabilitiesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/AccruedExpensesAndOtherLiabilitiesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompany",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedStatementOfCashFlowsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureCondensedFinancialInformationOfTheCompanyConsolidatedStatementOfComprehensiveIncomeLossDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureDeconsolidations",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShare",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareTables",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNet",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefit",
      "http://www.cmcm.com/20221231/taxonomy/role/EmployeeBenefitAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurement",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformation",
      "http://www.cmcm.com/20221231/taxonomy/role/GeographicalInformationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxes",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesCurrentAndDeferredPortionsOfIncomeTaxExpenseDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfTheDifferencesParentheticalDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesTaxEffectsOfTemporaryDifferencesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNet",
      "http://www.cmcm.com/20221231/taxonomy/role/IntangibleAssetsNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsTables",
      "http://www.cmcm.com/20221231/taxonomy/role/Lease",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseSummaryOfFutureLeasePaymentsUnderOperatingLeasesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/LeaseTables",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivities",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNet",
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetTables",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactions",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsTables",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformation",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationSummaryOfRevenueFromEachSegmentIncomeLossFromOperationsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SegmentInformationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensation",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareBasedCompensationTables",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquity",
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquityTables",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLossParenthetical",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPolicies",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfIntangibleAssetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period to an employee benefit plan, such as a defined contribution or defined benefit plan.",
        "label": "Stock Issued During Period, Shares, Employee Benefit Plan",
        "terseLabel": "Exercise and vesting of share-based awards,shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesEmployeeBenefitPlan",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of shares issued during the period to an employee benefit plan, such as a defined contribution or defined benefit plan.",
        "label": "Stock Issued During Period, Value, Employee Benefit Plan",
        "terseLabel": "Exercise and vesting of share-based awards"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueEmployeeBenefitPlan",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r8",
      "r12",
      "r13",
      "r92",
      "r954",
      "r992",
      "r1009",
      "r1064"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Stockholders' Equity Attributable to Parent, Ending Balance",
        "periodStartLabel": "Stockholders' Equity Attributable to Parent, Beginning Balance",
        "terseLabel": "Total shareholders' equity",
        "totalLabel": "Total shareholders' equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "Shareholders' equity"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/CondensedFinancialInformationOfTheCompanyConsolidatedBalanceSheetsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r167",
      "r168",
      "r185",
      "r260",
      "r261",
      "r300",
      "r323",
      "r324",
      "r325",
      "r328",
      "r337",
      "r436",
      "r551",
      "r627",
      "r628",
      "r629",
      "r654",
      "r655",
      "r695",
      "r723",
      "r724",
      "r729",
      "r756",
      "r843",
      "r844",
      "r992",
      "r1009",
      "r1064"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total shareholders' equity"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedBalanceSheets",
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityNoteAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Note [Abstract]"
       }
      }
     },
     "localname": "StockholdersEquityNoteAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r141",
      "r315",
      "r536",
      "r538",
      "r539",
      "r540",
      "r541",
      "r542",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r549",
      "r551",
      "r686"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]",
        "terseLabel": "Shareholders' Equity"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ShareholdersEquity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubsegmentsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business subsegments.",
        "label": "Subsegments [Axis]",
        "terseLabel": "Subsegments [Axis]"
       }
      }
     },
     "localname": "SubsegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsegmentsDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Divisions of a component of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Subsegments [Domain]",
        "terseLabel": "Subsegments [Domain]"
       }
      }
     },
     "localname": "SubsegmentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesScheduleOfRevenueByRevenueSourceDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
        "label": "Subsequent Event [Line Items]"
       }
      }
     },
     "localname": "SubsequentEventLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r730",
      "r767"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event [Member]"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTable": {
     "auth_ref": [
      "r730",
      "r767"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
        "label": "Subsequent Event [Table]"
       }
      }
     },
     "localname": "SubsequentEventTable",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r730",
      "r767"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r730",
      "r767"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Events [Abstract]"
       }
      }
     },
     "localname": "SubsequentEventsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventsTextBlock": {
     "auth_ref": [
      "r766",
      "r768"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
        "label": "Subsequent Events [Text Block]",
        "terseLabel": "Subsequent Events"
       }
      }
     },
     "localname": "SubsequentEventsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureSubsequentEvents"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "Supplemental disclosures"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfCashFlows"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SupplementalIncomeStatementElementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Income Statement Elements [Abstract]",
        "terseLabel": "Related party Transactions"
       }
      }
     },
     "localname": "SupplementalIncomeStatementElementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_Supplies": {
     "auth_ref": [
      "r917",
      "r931",
      "r1011"
     ],
     "calculation": {
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail": {
       "order": 2.0,
       "parentTag": "us-gaap_PrepaidExpenseAndOtherAssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consideration paid in advance for supplies that provide economic benefits within a future period of one year or the normal operating cycle, if longer.",
        "label": "Prepaid Supplies",
        "terseLabel": "Advances to suppliers"
       }
      }
     },
     "localname": "Supplies",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TangibleAssetImpairmentCharges": {
     "auth_ref": [
      "r0",
      "r120"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The charge against earnings resulting from the aggregate write down of tangible assets from their carrying value to their fair value.",
        "label": "Tangible Asset Impairment Charges",
        "terseLabel": "impairment recognized on property and equipment",
        "totalLabel": "Tangible Asset Impairment Charges, Total"
       }
      }
     },
     "localname": "TangibleAssetImpairmentCharges",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TemporaryEquityAccretionToRedemptionValueAdjustment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease to net income for accretion of temporary equity to its redemption value to derive net income apportioned to common stockholders.",
        "label": "Temporary Equity, Accretion to Redemption Value, Adjustment",
        "negatedLabel": "Accretion of redeemable noncontrolling interests"
       }
      }
     },
     "localname": "TemporaryEquityAccretionToRedemptionValueAdjustment",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Text Block [Abstract]"
       }
      }
     },
     "localname": "TextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    },
    "us-gaap_TradeAndOtherAccountsReceivablePolicy": {
     "auth_ref": [
      "r254",
      "r255",
      "r256",
      "r416",
      "r417",
      "r419"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for accounts receivable.",
        "label": "Accounts Receivable [Policy Text Block]",
        "terseLabel": "Account receivables, net"
       }
      }
     },
     "localname": "TradeAndOtherAccountsReceivablePolicy",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r424",
      "r425",
      "r534",
      "r548",
      "r685",
      "r769",
      "r770",
      "r771",
      "r772",
      "r773",
      "r774",
      "r775",
      "r776",
      "r777",
      "r778",
      "r779",
      "r780",
      "r781",
      "r782",
      "r786",
      "r787",
      "r788",
      "r789",
      "r790",
      "r791",
      "r792",
      "r793",
      "r794",
      "r795",
      "r796",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r1005",
      "r1006",
      "r1007",
      "r1080",
      "r1081",
      "r1082",
      "r1083",
      "r1084",
      "r1085",
      "r1086"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementAssetsAndLiabilitiesMeasuredOrDisclosedAtFairValueDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables",
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r26",
      "r140"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares of an entity that have been repurchased by the entity. This stock has no voting rights and receives no dividends. Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Treasury Stock [Member]",
        "terseLabel": "Treasury Stock [Member]"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/ConsolidatedStatementsOfChangesInShareholdersEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r327",
      "r328",
      "r329",
      "r330",
      "r341",
      "r420",
      "r421",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r627",
      "r628",
      "r629",
      "r652",
      "r653",
      "r654",
      "r655",
      "r673",
      "r674",
      "r675",
      "r687",
      "r688",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r696",
      "r697",
      "r698",
      "r710",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r717",
      "r732",
      "r733",
      "r735",
      "r736",
      "r737",
      "r738",
      "r751",
      "r752",
      "r753",
      "r754",
      "r755",
      "r756",
      "r806",
      "r807",
      "r808",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment to accounting standards.",
        "label": "Accounting Standards Update [Domain]",
        "terseLabel": "Type of Adoption [Domain]"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosurePrepaymentsAndOtherCurrentAssetsNetAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/RelatedPartyTransactionsAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TypeOfArrangementAxis": {
     "auth_ref": [
      "r1059"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Axis]",
        "terseLabel": "Type of Arrangement and Non-arrangement Transactions [Axis]"
       }
      }
     },
     "localname": "TypeOfArrangementAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UndistributedEarningsOfDomesticSubsidiaries": {
     "auth_ref": [
      "r633",
      "r668"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of undistributed earnings of domestic subsidiaries or domestic joint ventures intended to be permanent.",
        "label": "Undistributed Earnings of Domestic Subsidiaries",
        "terseLabel": "Undistributed earnings"
       }
      }
     },
     "localname": "UndistributedEarningsOfDomesticSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrealizedGainLossOnInvestments": {
     "auth_ref": [
      "r66"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized gain (loss) on investment.",
        "label": "Unrealized Gain (Loss) on Investments",
        "verboseLabel": "Unrealized Gain (Loss) on Equity Investments using fair value option"
       }
      }
     },
     "localname": "UnrealizedGainLossOnInvestments",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/InvestmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "auth_ref": [
      "r634",
      "r643"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits.",
        "label": "Unrecognized Tax Benefits",
        "periodEndLabel": "Balance, ending",
        "periodStartLabel": "Balance, beginning",
        "terseLabel": "Unrecognized tax benefit"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefits",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued": {
     "auth_ref": [
      "r641"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return.",
        "label": "Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued",
        "terseLabel": "Penalties related to unrecognised tax benefits",
        "totalLabel": "Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued, Total"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions": {
     "auth_ref": [
      "r644"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return.",
        "label": "Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions",
        "terseLabel": "Additions based on tax positions related to current year"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromForeignCurrencyTranslation": {
     "auth_ref": [
      "r1056"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in unrecognized tax benefits resulting from foreign currency translation.",
        "label": "Unrecognized Tax Benefits, Increase Resulting from Foreign Currency Translation",
        "terseLabel": "Foreign exchange translation adjustments"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncreasesResultingFromForeignCurrencyTranslation",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesReconciliationOfUnrecognizedTaxBenefitDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued": {
     "auth_ref": [
      "r1055"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest expense accrued for an underpayment of income taxes.",
        "label": "Unrecognized Tax Benefits, Interest on Income Taxes Accrued",
        "terseLabel": "Interest accrued related to unrecognized tax benefits"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpense": {
     "auth_ref": [
      "r1055"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest expense for an underpayment of income taxes.",
        "label": "Unrecognized Tax Benefits, Interest on Income Taxes Expense",
        "terseLabel": "Interest related to unrecognized tax benefits"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsInterestOnIncomeTaxesExpense",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate": {
     "auth_ref": [
      "r645"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of unrecognized tax benefits that, if recognized, would affect the effective tax rate.",
        "label": "Unrecognized Tax Benefits that Would Impact Effective Tax Rate",
        "terseLabel": "Amount of unrecognized tax benefits that if recognized would impact the annual effective tax rate"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/IncomeTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r82",
      "r83",
      "r84",
      "r369",
      "r370",
      "r371",
      "r372"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ValuationTechniqueAxis": {
     "auth_ref": [
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by valuation approach and technique.",
        "label": "Valuation Approach and Technique [Axis]"
       }
      }
     },
     "localname": "ValuationTechniqueAxis",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ValuationTechniqueDiscountedCashFlowMember": {
     "auth_ref": [
      "r1063"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation technique calculating present value of future cash flows.",
        "label": "Valuation Technique, Discounted Cash Flow [Member]"
       }
      }
     },
     "localname": "ValuationTechniqueDiscountedCashFlowMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ValuationTechniqueDomain": {
     "auth_ref": [
      "r197"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Valuation approach and technique.",
        "label": "Valuation Approach and Technique [Domain]"
       }
      }
     },
     "localname": "ValuationTechniqueDomain",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureFairValueMeasurementScheduleOfSignificantUnobservableInputsUsedInTheFairValueMeasurementDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/FairValueMeasurementTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableInterestEntityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Variable Interest Entity [Line Items]",
        "terseLabel": "Variable Interest Entity [Line Items]"
       }
      }
     },
     "localname": "VariableInterestEntityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableInterestEntityOwnershipPercentage": {
     "auth_ref": [
      "r181"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the Variable Interest Entity's (VIE) voting interest owned by (or beneficial interest in) the reporting entity (directly or indirectly).",
        "label": "Variable Interest Entity, Qualitative or Quantitative Information, Ownership Percentage",
        "terseLabel": "Percentage of ownership"
       }
      }
     },
     "localname": "VariableInterestEntityOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesPrincipalSubsidiariesOfViesAndEquityInvesteesDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember": {
     "auth_ref": [
      "r179",
      "r679",
      "r680",
      "r683",
      "r684"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary. A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity.",
        "label": "Variable Interest Entity, Primary Beneficiary [Member]",
        "terseLabel": "Variable Interest Entity, Primary Beneficiary, Aggregated Disclosure [Member]"
       }
      }
     },
     "localname": "VariableInterestEntityPrimaryBeneficiaryMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesFinancialPerformanceAndCashFlowsOfTheViesAndSubsidiariesOfViesDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/OrganizationAndPrincipalActivitiesVieArrangementsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VehiclesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equipment used primarily for road transportation.",
        "label": "Vehicles [Member]",
        "terseLabel": "Motor vehicles [Member]"
       }
      }
     },
     "localname": "VehiclesMember",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/PropertyAndEquipmentNetDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/SummaryOfSignificantOfAccountingPoliciesEstimatedUsefulLivesOfAssetDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r344",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Diluted, Total",
        "verboseLabel": "Diluted"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Diluted [Abstract]",
        "terseLabel": "Denominator:"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r342",
      "r358"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Basic",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "verboseLabel": "Weighted average number of ordinary shares outstanding"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "presentation": [
      "http://www.cmcm.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareDetail",
      "http://www.cmcm.com/20221231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeLoss"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 8
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(24))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 5.BB)",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=27011343&loc=d3e100047-122729",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1000": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1001": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1002": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1003": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4647-111522",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1004": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/subtopic&trid=2196772",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1005": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1006": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1007": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1008": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117546-209714",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1009": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.BB)",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=27011343&loc=d3e100047-122729",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1010": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1011": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1012": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "410",
   "URI": "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1013": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25383-109308",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1014": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1015": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1016": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=6397426&loc=d3e17499-108355",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1017": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "https://asc.fasb.org/topic&trid=2127136",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1018": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1019": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1020": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1021": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1022": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1023": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1024": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1025": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "705",
   "URI": "https://asc.fasb.org/topic&trid=2122478",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1026": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1027": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1028": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1029": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1030": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1031": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1032": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1033": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1034": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1035": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1036": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1037": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1038": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1039": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1040": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1041": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1042": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1043": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1044": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1045": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1046": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1047": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1048": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1049": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1050": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1051": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1052": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1053": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1054": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1055": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1056": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1057": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1058": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1059": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "https://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1060": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(6)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1061": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1062": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1063": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1064": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1065": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1066": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1067": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1068": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1069": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1070": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1071": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1072": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1073": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1074": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1075": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1076": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1077": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1078": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1079": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1080": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1081": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1082": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1083": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1084": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1085": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1086": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1087": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1088": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1089": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(ii)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r1090": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1091": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r1092": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=126905981&loc=d3e2420-110228",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2921-110230",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "https://asc.fasb.org/topic&trid=2155823",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "https://asc.fasb.org/topic&trid=2144648",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "460",
   "URI": "https://asc.fasb.org/extlink&oid=126907703&loc=d3e12565-110249",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "https://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21332-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=65888546&loc=d3e21346-112643",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21553-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21564-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21484-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21488-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "https://asc.fasb.org/topic&trid=2208762",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.12)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11149-113907",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11178-113907",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "720",
   "URI": "https://asc.fasb.org/extlink&oid=6419918&loc=d3e35281-107843",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "730",
   "URI": "https://asc.fasb.org/extlink&oid=6420194&loc=d3e21568-108373",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5263-128473",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126966325&loc=d3e6819-128478",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "https://asc.fasb.org/topic&trid=2303972",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568447-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4568740-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4613674-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569655-111683",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4582445-111684",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5728-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5747-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=SL6228884-111685",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624186-113959",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(25))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(4))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(5))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10(3))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(3),(4))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7(e))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(f))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(20))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(23)(a)(4)(i))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(g))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(b)(1))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4)(ii))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.17)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.3)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(11))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.27(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Subparagraph": "(b)",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=99383244&loc=d3e12121-115841",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.6-07.1(c))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=120401555&loc=SL114874292-224272",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "740",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6501382&loc=d3e54053-110423",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "740",
   "Topic": "980",
   "URI": "https://asc.fasb.org/extlink&oid=6501382&loc=d3e54136-110423",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5093-111524",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://fasb.org/us-gaap/role/ref/otherTransitionRef"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "105",
   "URI": "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-04(Schedule I))",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=126898705&loc=d3e5864-122674",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(11))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(16))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(18))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(4))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(26))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(30)(a)(3)(ii))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(22))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(23))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(5))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3367-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a),(b),(c)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=SL124452830-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1377-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1707-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1757-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1500-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1278-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1930-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "https://asc.fasb.org/topic&trid=2144383",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "270",
   "URI": "https://asc.fasb.org/extlink&oid=126900757&loc=d3e543-108305",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "https://asc.fasb.org/topic&trid=2134479",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8657-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8844-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(13))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868656-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8864-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8981-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "https://asc.fasb.org/topic&trid=2134510",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e4975-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5033-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=126986314&loc=SL124402458-218513",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=SL6284422-111562",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=SL6284393-111563",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "https://asc.fasb.org/extlink&oid=126980263&loc=SL75117539-209714",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124256539&loc=SL120269210-210444",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(4))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124256539&loc=SL120254536-210444",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124266218&loc=SL120267834-210445",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255206&loc=SL120267845-210446",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1(e))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919260-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919272-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL120267966-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL120267969-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 6.M.Q4)",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=122651532&loc=SL122037091-237805",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124268681&loc=SL120267897-210452",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13A",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=125515542&loc=SL120267917-210453",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=125515542&loc=SL120269220-210453",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL120267853-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL120267859-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL120267862-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1,2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "https://asc.fasb.org/topic&trid=2126998",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905020&loc=d3e5879-108316",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=6387103&loc=d3e6435-108320",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(a),(d))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/subtopic&trid=2144439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "https://asc.fasb.org/subtopic&trid=2144471",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q2)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Subparagraph": "(SAB Topic 5.Y.Q4)",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.7(b))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(C))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.9)",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496171-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496180-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496189-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130532-203044",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130561-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130563-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130564-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130566-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "https://asc.fasb.org/topic&trid=49130388",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(l)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(o)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(p)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(q)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(1)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(2)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "https://asc.fasb.org/topic&trid=2235017",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4534-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=126962052&loc=d3e4991-113900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(04)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(01)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(02)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(03)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(ii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(iv)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)(v)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)(iii)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(l)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.D.2.Q6)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "https://asc.fasb.org/topic&trid=2228938",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(b)",
   "Topic": "720",
   "URI": "https://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126928070&loc=d3e28200-109314",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e32059-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.3)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e39076-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "https://asc.fasb.org/topic&trid=2144680",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=128092918&loc=SL128093175-196984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)(1)",
   "Topic": "805",
   "URI": "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=d3e90205-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126731327&loc=SL126733271-114008",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4273-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(2)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL126732908-238011",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(23))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4297-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL120254526-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL121967933-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "https://asc.fasb.org/extlink&oid=126983955&loc=SL122642865-165497",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=126980362&loc=d3e28228-110885",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123602790&loc=d3e30226-110892",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "830",
   "URI": "https://asc.fasb.org/topic&trid=2175825",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "832",
   "URI": "https://asc.fasb.org/extlink&oid=128342835&loc=SL128342857-244232",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128293352&loc=SL126838806-209984",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918631-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918643-209977",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918666-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(1)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "https://asc.fasb.org/topic&trid=2122369",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/subtopic&trid=77888251",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL122150809-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848",
   "URI": "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39599-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "https://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "https://asc.fasb.org/topic&trid=2122745",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=124433192&loc=d3e56071-112765",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "855",
   "URI": "https://asc.fasb.org/topic&trid=2122774",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122625-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r800": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r801": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "https://asc.fasb.org/extlink&oid=128311188&loc=d3e122739-111746",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r802": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r803": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "330",
   "Topic": "912",
   "URI": "https://asc.fasb.org/extlink&oid=6471895&loc=d3e55923-109411",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r804": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r805": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r806": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r807": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r808": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "926",
   "URI": "https://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r809": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "https://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r810": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r811": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61929-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r812": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r813": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62059-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r814": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r815": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62395-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r816": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r817": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e62479-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r818": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r819": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=SL6807758-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r820": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r821": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "https://asc.fasb.org/extlink&oid=126939881&loc=d3e61872-109447",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r822": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r823": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r824": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(24))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r825": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(25))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r826": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r827": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r828": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r829": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "https://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r830": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(5))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r831": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r832": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r833": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(20))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r834": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(21))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r835": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r836": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r837": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(d))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r838": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r839": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "https://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r840": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r841": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r842": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r843": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r844": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r845": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r846": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r847": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r848": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r849": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r850": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r851": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r852": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=123600520&loc=SL75241803-196195",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r853": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r854": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r855": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r856": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r857": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r858": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r859": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r860": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r861": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r862": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r863": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r864": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r865": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r866": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r867": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r868": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r869": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r870": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "https://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r871": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942793&loc=d3e3073-115593",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r872": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=126942805&loc=d3e3115-115594",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r873": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r874": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "450",
   "Topic": "954",
   "URI": "https://asc.fasb.org/extlink&oid=6491354&loc=d3e6049-115624",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r875": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99779-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r876": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=d3e99893-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r877": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "https://asc.fasb.org/extlink&oid=126982197&loc=SL120174063-112916",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r878": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r879": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8475-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r880": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r881": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r882": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r883": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r884": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r885": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r886": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r887": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "https://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r888": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r889": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r890": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r891": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r892": {
   "Footnote": "2",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r893": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r894": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r895": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column B",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r896": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column C",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r897": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column D",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r898": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column E",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r899": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column F",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "b",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r900": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column G",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r901": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column H",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r902": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column I",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r903": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r904": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r905": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(A)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r906": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(A)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r907": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(B)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r908": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(B)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r909": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iii)(C)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r910": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r911": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r912": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(m)",
   "Publisher": "SEC",
   "Section": "4",
   "Subparagraph": "(1)(iii)",
   "Subsection": "08",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r913": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r914": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r915": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r916": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r917": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(g)(7)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r918": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6935-107765",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r919": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a)(1))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r920": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226024-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r921": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226049-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r922": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r923": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r924": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r925": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r926": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18823-107790",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r927": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r928": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r929": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=124260329&loc=d3e26626-111562",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r930": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "https://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r931": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "340",
   "URI": "https://asc.fasb.org/extlink&oid=126905020&loc=d3e5879-108316",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r932": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r933": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r934": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r935": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r936": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r937": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r938": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r939": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r940": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r941": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r942": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r943": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r944": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r945": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r946": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r947": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r948": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r949": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=123583895&loc=d3e30768-111565",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r950": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "217",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "https://asc.fasb.org/extlink&oid=126976462&loc=d3e36027-109320",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r951": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r952": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r953": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "https://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r954": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r955": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r956": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r957": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r958": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "https://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r959": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=126960272&loc=d3e32014-111567",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r960": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r961": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r962": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r963": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "15",
   "Subsection": "d-3",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r964": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r965": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r966": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r967": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r968": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r969": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=126903467&loc=d3e32787-111569",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r970": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r971": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r972": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "https://asc.fasb.org/extlink&oid=126929396&loc=d3e5283-111683",
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef"
  },
  "r973": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r974": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(10))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r975": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r976": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r977": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r978": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r979": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(9))",
   "Topic": "210",
   "URI": "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r980": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r981": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r982": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r983": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(7)(c))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r984": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(9)(a))",
   "Topic": "220",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r985": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r986": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r987": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r988": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r989": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571",
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef"
  },
  "r990": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r991": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r992": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r993": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r994": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r995": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r996": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r997": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r998": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r999": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=d3e2626-109256",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  }
 },
 "version": "2.2"
}
