XML 74 R53.htm IDEA: XBRL DOCUMENT
v3.22.1

Organization and Basis of Presentation - Additional Information (Detail) ¥ / shares in Units, ¥ in Thousands, $ in Thousands | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2021 CNY (¥) ¥ / shares | Dec. 31, 2020 CNY (¥) | Dec. 31, 2019 CNY (¥) | Dec. 31, 2021 USD ($) | Sep. 30, 2021
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Shareholder Voting Rights Trust Agreements Term | 10 years |  |  |  |
Variable interest entity and subsidiaries, Consolidated, Assets, Pledged |  | ¥ 0 |  |  |
Restricted Cash [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Assets secured for payment of liabilities | ¥ 89,704 |  |  | $ 14,077 |
Camelot Employee Scheme Inc [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Percentage of equity interest acquired |  |  |  |  | 100.00%
Beijing Camelot and its Subsidiaries [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Percentage of equity interest acquired |  |  |  |  | 82.15%
Revenue Benchmark [Member] | Variable Interest Entity, Primary Beneficiary [Member] | Consolidated Revenue [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Concentration risk percentage | 88.00% | 97.00% | 98.10% |  |
Xiaomi Group [Member] | Electronic equipment [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Assets secured for payment of liabilities | ¥ 750,000 |  |  | $ 117,691 |
Beijing Yunxiang Zhisheng Technology Co Ltd [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Payment towards loans to related parties |  |  | ¥ 10,000 |  |
Loan To Zhuhai King Soft Cloud [Member] | Beijing Kingsoft Cloud Technology Co Ltd [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Payment towards loans to related parties |  |  | ¥ 279 |  |
Exclusive Purchase Option Agreement With Zhuhai King Soft Cloud and Nominee Shareholders [Member] | Beijing Kingsoft Cloud Technology Co Ltd [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Equity Method investment per share purchase price | ¥ / shares | ¥ 0.001 |  |  |  |
Exclusive Consultation and Technical Fees Agreement [Member] | Beijing Kingsoft Cloud Technology Co Ltd [Member] | Zhuhai Kingsoft Cloud [Member] |  |  |  |  |
Organization Consolidation And Presentation Of Financial Statements [Line Items] |  |  |  |  |
Related party transaction term of agreement for consultancy services | 20 years |  |  |  |

X
- Definition Assets secured for Ppayment of liabilities. + References No definition available. + Details
Name: | kc_AssetsSecuredForPaymentOfLiabilities
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Equity method investment per share price. + References No definition available. + Details
Name: | kc_EquityMethodInvestmentPerSharePrice
Namespace Prefix: | kc_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Organization consolidation and presentation of financial statements. + References No definition available. + Details
Name: | kc_OrganizationConsolidationAndPresentationOfFinancialStatementsLineItems
Namespace Prefix: | kc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related party transaction term of agreement for consultancy services + References No definition available. + Details
Name: | kc_RelatedPartyTransactionTermOfAgreementForConsultancyServices
Namespace Prefix: | kc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Shareholder voting rights trust agreements term. + References No definition available. + Details
Name: | kc_ShareholderVotingRightsTrustAgreementsTerm
Namespace Prefix: | kc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition VIEs and subsidiaries consolidated assets pledged. + References No definition available. + Details
Name: | kc_VIEsAndSubsidiariesConsolidatedAssetsPledged
Namespace Prefix: | kc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of voting equity interests acquired at the acquisition date in the business combination. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 42 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592 + Details
Name: | us-gaap_ConcentrationRiskPercentage1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The 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; including affiliates, owners or officers and their immediate families, pension trusts, and so forth. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585 + Details
Name: | us-gaap_OriginationOfNotesReceivableFromRelatedParties
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=kc_RestrictedCashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=kc_CamelotEmployeeSchemeIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=kc_BeijingCamelotAndItsSubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_SalesRevenueNetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=kc_ConsolidatedRevenueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=kc_XiaomiGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=kc_ElectronicEquipmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=kc_BeijingYunxiangZhishengTechnologyCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=kc_LoanToZhuhaiKingSoftCloudMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=kc_BeijingKingsoftCloudTechnologyCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=kc_ExclusivePurchaseOptionAgreementWithZhuhaiKingSoftCloudAndNomineeShareholdersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=kc_ExclusiveConsultationAndTechnicalFeesAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=kc_ZhuhaiKingsoftCloudMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |