XML 81 R60.htm IDEA: XBRL DOCUMENT
v3.22.1

Concentration of Risks - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Concentration of Risk [Line Items] |  |  |
Percentage depreciation in foreign currency exchange rate | 2.30% | 6.30% | 1.30%
Accounts Receivable [Member] | Minimum [Member] | Two Customers [Member] | Customer Concentration Risk [Member] |  |  |
Concentration of Risk [Line Items] |  |  |
Concentration risk percentage | 10.00% | 10.00% |
Sales Revenue Net [Member] | Customer One [Member] | Customer Concentration Risk [Member] |  |  |
Concentration of Risk [Line Items] |  |  |
Concentration risk percentage | 22.00% | 10.00% | 14.00%
Sales Revenue Net [Member] | Customer Two [Member] | Customer Concentration Risk [Member] |  |  |
Concentration of Risk [Line Items] |  |  |
Concentration risk percentage | 13.00% | 28.00% | 31.00%
Sales Revenue Net [Member] | Customer Three [Member] | Customer Concentration Risk [Member] |  |  |
Concentration of Risk [Line Items] |  |  |
Concentration risk percentage |  | 15.00% | 12.00%
Contract asset [Member] | Customer One [Member] | Customer Concentration Risk [Member] |  |  |
Concentration of Risk [Line Items] |  |  |
Concentration risk percentage | 10.00% |  |

X
- Definition Concentration of risk. + References No definition available. + Details
Name: | kc_ConcentrationOfRiskLineItems
Namespace Prefix: | kc_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage depreciation in foreign currency exchange rate. + References No definition available. + Details
Name: | kc_PercentageDepreciationInForeignCurrencyExchangeRate
Namespace Prefix: | kc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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
- Details
Name: | us-gaap_ConcentrationRiskByBenchmarkAxis=us-gaap_AccountsReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=kc_TwoCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConcentrationRiskByTypeAxis=us-gaap_CustomerConcentrationRiskMember
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_MajorCustomersAxis=kc_CustomerOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=kc_CustomerTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_MajorCustomersAxis=kc_CustomerThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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