XML 185 R157.htm IDEA: XBRL DOCUMENT
v3.21.4

Share-Based Compensation (Details) - Schedule of share-based compensation expense - Share based compensation [Member] - CNY (¥) ¥ in Thousands | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2021 | Dec. 31, 2020
Share-Based Compensation (Details) - Schedule of share-based compensation expense [Line Items] |  |
Total share-based compensation expense | ¥ 76,227 | ¥ 164,623
Cost of revenue [Member] |  |
Share-Based Compensation (Details) - Schedule of share-based compensation expense [Line Items] |  |
Total share-based compensation expense | 21,360 | 7,375
Selling and marketing [Member] |  |
Share-Based Compensation (Details) - Schedule of share-based compensation expense [Line Items] |  |
Total share-based compensation expense | 11,935 | 11,740
General and administrative [Member] |  |
Share-Based Compensation (Details) - Schedule of share-based compensation expense [Line Items] |  |
Total share-based compensation expense | ¥ 42,933 | ¥ 145,508

X
- References No definition available. + Details
Name: | uk_ShareBasedCompensationDetailsScheduleofsharebasedcompensationexpenseLineItems
Namespace Prefix: | uk_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for employee benefit and equity-based compensation. + References No definition available. + Details
Name: | us-gaap_EmployeeBenefitsAndShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_StockCompensationPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=uk_CostOfRevenueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingAndMarketingExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |