XML 123 R102.htm IDEA: XBRL DOCUMENT
v3.22.1

Related Party Transactions - Schedule Of Related Parties And Nature Of Relationship (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2021
Kingsoft Group [Member] |
Related Party Transaction [Line Items] |
Nature of Common Ownership or Management Control Relationships | Principal shareholder of the Company
Cheetah Group [Member] |
Related Party Transaction [Line Items] |
Nature of Common Ownership or Management Control Relationships | Entity that Kingsoft Corporation Limited exercises significant influence over
Xiaomi Group [Member] |
Related Party Transaction [Line Items] |
Nature of Common Ownership or Management Control Relationships | Entity controlled by a director of the Company

X
- Definition This element represents a description of the nature of common ownership or management control relationships with other entities, regardless of there being transactions between the entities, when the existence of that control could result in operating results or financial position of the reporting entity significantly different from that which would have been obtained if the entities' were autonomous. + References No definition available. + Details
Name: | us-gaap_NatureOfCommonOwnershipOrManagementControlRelationships
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=kc_CheetahGroupMember
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: |