XML 75 R58.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Significant Accounting Policies - Schedule of Movements in the Allowance for Credit Losses (Details) ¥ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 CNY (¥)
Accounting Policies [Abstract] |
Balance as of January 1 |
Amounts charged to expenses | 19,887
Balance as of December 31 | ¥ 19,887

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

X
- Definition Allowance for credit loss, charged to expenses. + References No definition available. + Details
Name: | ysg_AllowanceForCreditLossChargedToExpenses
Namespace Prefix: | ysg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Allowance for doubtful accounts receivable including related party, current. + References No definition available. + Details
Name: | ysg_AllowanceForDoubtfulAccountsReceivableIncludingRelatedPartyCurrent
Namespace Prefix: | ysg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant