XML 101 R75.htm IDEA: XBRL DOCUMENT
v3.23.1

Ordinary Shares - Additional Information (Details) ¥ / shares in Units, $ / shares in Units, ¥ in Thousands |  | 12 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | ---
Sep. 18, 2015 Vote $ / shares shares | Dec. 31, 2022 CNY (¥) shares | Dec. 31, 2021 CNY (¥) shares | Dec. 31, 2020 CNY (¥) shares | Dec. 31, 2019 | Dec. 31, 2022 $ / shares | Dec. 31, 2022 CNY (¥) shares | Dec. 31, 2021 $ / shares | Dec. 31, 2021 CNY (¥) shares | Dec. 06, 2021 USD ($) | Aug. 29, 2018 USD ($) | Sep. 18, 2015 ¥ / shares shares
Ordinary Shares [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, shares authorized | 1,000,000,000 |  |  |  |  |  |  |  |  |  |  | 1,000,000,000
Ordinary shares, par value | (per share) | $ 0.00005 |  |  |  |  |  |  |  |  |  |  | ¥ 0.0003
Ordinary shares, shares issued | 1 |  |  |  |  |  |  |  |  |  |  | 1
Transferred to designated agent account for share repurchase | ¥ |  | ¥ 6,742 | ¥ 4,866 |  |  |  |  |  |  |  |  |
Class A Ordinary Shares |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, shares authorized |  |  |  |  |  |  | 796,062,195 |  | 796,062,195 |  |  |
Ordinary shares, par value | $ / shares |  |  |  |  |  | $ 0.00005 |  | $ 0.00005 |  |  |  |
Ordinary shares, shares issued |  |  |  |  |  |  | 2,982,516 |  | 2,085,939 |  |  |
Common stock, voting right |  |  |  |  | Class A ordinary share is entitled to one vote |  |  |  |  |  |  |
Number of vote each ordinary shares entitled | Vote | 1 |  |  |  |  |  |  |  |  |  |  |
Authorized amount under share repurchase program | $ |  |  |  |  |  |  |  |  |  | $ 15,000 | $ 50,000 |
Number of shares repurchased |  | 117,432 | 60,325 | 163,884 |  |  |  |  |  |  |  |
Stock Repurchased During Period, Value | ¥ |  |  |  | ¥ 26,579 |  |  | ¥ 7,985 |  | ¥ 3,623 |  |  |
Conversion of shares |  | 521,577 | 107,318 | 148,438 |  |  |  |  |  |  |  |
Class B Ordinary Shares |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, shares authorized |  |  |  |  |  |  | 826,389 |  | 826,389 |  |  |
Ordinary shares, par value | $ / shares |  |  |  |  |  | 0.00005 |  | 0.00005 |  |  |  |
Ordinary shares, shares issued |  |  |  |  |  |  | 826,389 |  | 826,389 |  |  |
Common stock, voting right |  |  |  |  | Class B ordinary share is entitled to seven votes |  |  |  |  |  |  |
Number of vote each ordinary shares entitled | Vote | 7 |  |  |  |  |  |  |  |  |  |  |
Class of each ordinary shares convertible into class A ordinary shares | 1 |  |  |  |  |  |  |  |  |  |  | 1
Class C Ordinary Shares |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, shares authorized |  |  |  |  |  |  | 203,111,416 |  | 203,111,416 |  |  |
Ordinary shares, par value | $ / shares |  |  |  |  |  | $ 0.00005 |  | $ 0.00005 |  |  |  |
Ordinary shares, shares issued |  |  |  |  |  |  | 3,481,353 |  | 4,002,930 |  |  |
Common stock, voting right |  |  |  |  | Class C ordinary share is entitled to ten votes |  |  |  |  |  |  |
Number of vote each ordinary shares entitled | Vote | 10 |  |  |  |  |  |  |  |  |  |  |
Class of each ordinary shares convertible into class A ordinary shares | 1 |  |  |  |  |  |  |  |  |  |  | 1
Conversion of shares |  | 521,577 | 107,318 | 148,438 |  |  |  |  |  |  |  |
American Depository Shares |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of shares repurchased |  | 234,865 | 120,650 | 4,097,195 |  |  |  |  |  |  |  |

X
- Definition Number of vote ordinary shares entitled. + References No definition available. + Details
Name: | stg_NumberOfVoteOrdinarySharesEntitled
Namespace Prefix: | stg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Transferred to designated agent account for share repurchase. + References No definition available. + Details
Name: | stg_TransferredToDesignatedAgentAccountForShareRepurchase
Namespace Prefix: | stg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Description of voting rights of common stock. Includes eligibility to vote and votes per share owned. Include also, if any, unusual voting rights. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_CommonStockVotingRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 + Details
Name: | us-gaap_ConversionOfStockSharesConverted1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29,30) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655 + Details
Name: | us-gaap_TreasuryStockValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=stg_AmericanDepositorySharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |