XML 117 R92.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Ordinary Shares and Treasury Stock (Details) $ / shares in Units, ¥ in Thousands, $ in Thousands |  |  |  |  |  |  | 12 Months Ended |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Feb. 16, 2023 USD ($) shares | Jan. 27, 2023 USD ($) $ / shares shares | Feb. 09, 2022 USD ($) $ / shares shares | Nov. 04, 2020 shares | Aug. 13, 2020 shares | Apr. 25, 2018 shares | Jun. 30, 2024 USD ($) $ / shares shares | Jun. 30, 2023 CNY (¥) shares | Jun. 30, 2023 USD ($) shares | Jun. 30, 2022 shares | Jun. 01, 2022 shares | May 31, 2022 shares | Jun. 30, 2021 shares | May 31, 2021 shares | Jul. 01, 2020 shares
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  | 700,000,000 |  |  |  |  |  |  |  |  |  | 54,642,638 |  |  |
Unvested restricted shares |  |  |  |  | 13,920,770 |  |  |  |  |  |  |  |  |  |
Shares repurchased |  |  |  |  | 1,640,444 |  | 4,681,353 |  |  |  |  |  |  |  |
Restricted shares |  |  |  |  |  | 20,353,910 |  |  |  |  |  |  |  |  |
Share capital (in Dollars) | $ |  |  | $ 50,000 |  |  |  |  |  |  |  |  |  |  |  |
Common stock par value (in Dollars per share) | $ / shares |  | $ 0.0001 |  |  |  |  |  |  |  |  |  |  |  |  |
Number of issued per unit |  |  | 1 |  |  |  |  |  |  |  |  |  |  |  |
Net proceeds for exercised (in Dollars) | ¥ |  |  |  |  |  |  |  | ¥ 9,984 |  |  |  |  |  |  |
Repurchase payment (in Dollars) | $ |  |  |  |  |  |  | $ 20,000 |  | $ 20,000 |  |  |  |  |  |
Repurchase average price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 1.2 |  |  |  |  |  |  |  |
Re-issued treasury stock |  |  |  |  |  |  | 1,852,806 |  |  |  |  |  |  |  |
Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  |  |  |  |  |  | 500,000,000 |  |  |  |  |  |  |  |
Share capital (in Dollars) | $ |  |  |  |  |  |  | $ 50,000 |  |  |  |  |  |  |  |
Common stock par value (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
ADS [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cancelled shares |  |  |  |  |  |  | 9 |  |  |  |  |  |  |  |
Restricted Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unvested restricted shares |  |  |  |  |  |  |  |  |  | 6,755,330 | 75,000 |  | 13,660,660 |  |
Shares repurchased |  |  |  |  | 1,640,444 |  |  |  |  |  |  |  |  |  |
Restricted Stock [Member] | Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unvested restricted shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 13,920,770
Class B Ordinary Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  |  |  |  | 54,042,638 |  | 49,859,049 | 49,859,049 | 49,859,049 |  |  | 6,755,330 |  | 54,042,638 |
Ordinary shares, vote |  |  |  |  | ten |  |  |  |  |  |  |  |  |  |
Shares authorized |  |  |  |  |  |  | 70,000,000 | 70,000,000 | 70,000,000 |  |  |  |  |  |
Common stock par value (in Dollars per share) | $ / shares |  | $ 0.0001 |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Class B Ordinary Shares [Member] | Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares repurchased |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares authorized |  |  |  |  |  |  | 54,042,638 |  |  |  | 4,183,589 |  |  |  |
Share allotted and issued |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Exercised shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net proceeds for exercised (in Dollars) | ¥ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class B Ordinary Shares [Member] | Mr. Peng Li [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  | 49,859,049 |  |  |  |  |  |  |  |  |  |  |  |  |
Class B Ordinary Shares [Member] | Convertible Note [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, vote |  |  |  |  |  |  | ten |  |  |  |  |  |  |  |
Class A Ordinary Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  | 430,000,000 |  | 600,000 |  |  | 119,595,046 | 115,759,408 | 115,759,408 |  |  | 75,000 |  | 600,000 |
Shares repurchased |  |  |  |  |  |  | 13,836,078 |  |  |  |  |  |  |  |
Ordinary shares, vote |  |  |  | one |  |  |  |  |  |  |  |  |  |  |
Shares authorized |  |  |  |  |  |  | 430,000,000 | 430,000,000 | 430,000,000 |  |  |  |  |  |
Common stock par value (in Dollars per share) | $ / shares |  | $ 0.0001 |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Repurchase average price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 3.6 |  |  |  |  |  |  |  |
Total consideration of treasury stock (in Dollars) | $ |  |  |  |  |  |  | $ 16,597 |  |  |  |  |  |  |  |
Class A Ordinary Shares [Member] | Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares repurchased |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Restricted shares |  |  |  | 150,000 |  |  |  |  |  |  |  |  |  |  |
Shares authorized |  |  |  |  |  |  | 345,113,731 |  |  |  |  |  |  |  |
Share allotted and issued |  |  |  |  |  |  |  | 9,750,000 | 9,750,000 |  |  |  |  |  |
Exercised shares |  |  |  |  |  |  |  | 382,188 | 382,188 |  |  |  |  |  |
Net proceeds for exercised (in Dollars) | ¥ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Class A Ordinary Shares [Member] | Convertible Note [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, vote |  |  |  |  |  |  | one |  |  |  |  |  |  |  |
Convertible Redeemable Series A Preferred Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock shares authorized |  |  |  |  |  |  | 22,000,000 |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Convertible Redeemable Series B Preferred Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock shares authorized |  |  |  |  |  |  | 23,983,789 |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Convertible Redeemable Series B-1 Preferred Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock shares authorized |  |  |  |  |  |  | 7,913,872 |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Convertible Redeemable Series C Preferred Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock shares authorized |  |  |  |  |  |  | 20,327,789 |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Convertible Redeemable Series D Preferred Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock shares authorized |  |  |  |  |  |  | 11,818,754 |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Convertible Redeemable Series E Preferred Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Preferred stock shares authorized |  |  |  |  |  |  | 14,799,427 |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Founder [Member] | Common Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 55,683,082
Shares authorized |  |  | 500,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Common stock par value (in Dollars per share) | $ / shares |  |  | $ 0.0001 |  |  |  |  |  |  |  |  |  |  |  |
Founder [Member] | Class B Ordinary Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  |  |  |  |  |  |  |  |  |  |  | 54,042,638 |  |  |
Founder [Member] | Class A Ordinary Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  |  |  |  |  |  |  |  |  |  |  | 600,000 |  |  |
IPO [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  | 200,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Share capital (in Dollars) | $ |  | $ 70,000 |  |  |  |  |  |  |  |  |  |  |  |  |
IPO [Member] | ADS [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of issued per unit |  |  |  |  |  |  | 1 |  |  |  |  |  |  |  |
Share allotted and issued |  |  |  |  |  |  | 3,250,000 |  |  |  |  |  |  |  |
Net proceeds (in Dollars) | $ |  |  |  |  |  |  | $ 37,172 |  |  |  |  |  |  |  |
IPO [Member] | Class B Ordinary Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary shares, issued |  | 70,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
IPO [Member] | Class A Ordinary Shares [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Common stock par value (in Dollars per share) | $ / shares |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |
Exercised shares |  |  |  |  |  |  | 3,835,647 |  |  |  |  |  |  |  |
Underwriters [Member] | ADS [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ordinary Shares and Treasury Stock [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Exercised shares | 127,396 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Net proceeds for exercised (in Dollars) | $ | $ 1,457 |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition Number of issued per unit. + References No definition available. + Details
Name: | qsg_NumberOfIssuedPerUnit
Namespace Prefix: | qsg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of share capital. + References No definition available. + Details
Name: | qsg_ShareCapital
Namespace Prefix: | qsg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 272 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483014/272-10-45-3 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 272 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482987/272-10-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(d)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-14 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-18 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(27)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 + Details
Name: | us-gaap_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + 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 -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 + 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 -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + 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 -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-3 + Details
Name: | us-gaap_CommonStockVotingRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share amount of share repurchase by investment company. Includes, but is not limited to, per unit, membership interest, or other ownership interest. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478494/946-205-50-7 + Details
Name: | us-gaap_InvestmentCompanyRepurchaseOfSharesPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow to reacquire common stock during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_PaymentsForRepurchaseOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-13 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479170/946-210-S99-1 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(03) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of non-vested options outstanding. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of new stock issued during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of share options (or share units) exercised during the current period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(02) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of treasury shares or units reissued. Excludes reissuance of shares or units in treasury for award under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesTreasuryStockReissued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the value of new stock issued during the period. Includes shares issued in an initial public offering or a secondary public offering. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479168/946-830-55-11 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 205 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478009/946-205-45-4 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Value of stock issued as a result of the exercise of stock options. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(31)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 505 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478448/946-505-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-09(4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479134/946-220-S99-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.6-03(i)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479886/946-10-S99-3 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockRepurchasedDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481549/505-30-45-1 + Details
Name: | us-gaap_TreasuryStockValueAcquiredCostMethod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
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_RelatedPartyTransactionsByRelatedPartyAxis=qsg_MrPengLiMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_ConvertibleNotesPayableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

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

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

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

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=qsg_FounderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_IPOMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=qsg_UnderwritersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |