XML 112 R87.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Share Based Compensation Expenses (Details) $ / shares in Units, ¥ in Thousands, $ in Thousands |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jun. 30, 2024 CNY (¥) shares | Dec. 29, 2023 shares | Jun. 30, 2023 CNY (¥) shares | Dec. 20, 2022 shares | Nov. 30, 2022 shares | Aug. 31, 2022 shares | Aug. 13, 2022 shares | Jun. 30, 2022 CNY (¥) shares | Jun. 01, 2022 CNY (¥) shares | May 31, 2022 CNY (¥) shares | May 31, 2021 CNY (¥) shares | Apr. 01, 2021 | Sep. 01, 2020 $ / shares shares | Aug. 13, 2020 $ / shares shares | Apr. 25, 2018 $ / shares shares | Apr. 25, 2017 shares | May 31, 2022 shares | Jun. 30, 2024 CNY (¥) shares | Jun. 30, 2024 USD ($) $ / shares shares | Jun. 30, 2023 CNY (¥) shares | Jun. 30, 2023 USD ($) $ / shares shares | Jun. 30, 2022 CNY (¥) shares | Jun. 30, 2022 CNY (¥) $ / shares shares | Jun. 30, 2021 CNY (¥) shares | Jun. 30, 2024 $ / shares | Jun. 30, 2023 $ / shares | Apr. 23, 2018 shares
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share based compensation expenses | ¥ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 27,757 |  | ¥ 191,632 |  | ¥ 291,429 |  |  |  |  |
Shares option granted |  |  |  |  |  | 70,000 |  |  |  |  |  |  |  |  |  |  |  | 4,217,652 | 4,217,652 | 3,375,000 | 3,375,000 | 2,298,000 |  |  |  |  |
Weighted average grant date fair value (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.39 |  | $ 3.77 |  | $ 2.56 |  |  |  |
Amount recognized as deemed dividend |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ (10,365) |  |  |  |  |
Unrecognized share-based compensation expenses (in Yuan Renminbi) | ¥ | ¥ 38,162 |  | ¥ 119,847 |  |  |  |  | ¥ 227,395 |  |  |  |  |  |  |  |  |  | ¥ 38,162 |  | ¥ 119,847 |  | ¥ 227,395 | $ 227,395 |  |  |  |
Expected to be recognized over a weighted-average period | 1 year 11 months 26 days |  | 1 year 5 months 15 days |  |  |  |  | 2 years 4 months 20 days |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Restricted shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 63,000,200 |  |  |  |  |  |  |  |  |  |  |
Granted restricted shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 20,353,910 |  |  |  |  |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.0001 |  |  |  |  |  |  |  |  |  |  |  |
Repurchase shares |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,640,444 |  |  |  | 4,681,353 | 4,681,353 |  |  |  |  |  |  |  |
Fair value of ordinary shares (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.49 |  |  |  |  |  |  |  |  |  |  |  |  |
Restriction of ordinary shares held by the founder description |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | In November 2020, these options were approved by the board to be exercised as 600,000 Class A ordinary shares, and the Founder agreed with Witty network to classify 150,000, out of the 600,000 Class A ordinary shares as additional Restricted Shares, with 50% of these shares vested on August 13, 2021 and 2022 respectively. In addition, the Founder further agreed with Witty network that 410,111 Class B ordinary shares of the previously granted Restricted Shares were vested immediately, while the remaining 13,510,660 Class B ordinary shares, being the unvested Restricted Shares, were also modified with 50% vested on August 13, 2021 and 2022 respectively. Such modification did not have any material impact on the fair value of these share options. | In November 2020, these options were approved by the board to be exercised as 600,000 Class A ordinary shares, and the Founder agreed with Witty network to classify 150,000, out of the 600,000 Class A ordinary shares as additional Restricted Shares, with 50% of these shares vested on August 13, 2021 and 2022 respectively. In addition, the Founder further agreed with Witty network that 410,111 Class B ordinary shares of the previously granted Restricted Shares were vested immediately, while the remaining 13,510,660 Class B ordinary shares, being the unvested Restricted Shares, were also modified with 50% vested on August 13, 2021 and 2022 respectively. Such modification did not have any material impact on the fair value of these share options. |  |  |  |  |  |  |  |
Unvested restricted shares |  |  |  |  |  |  |  |  |  |  |  |  |  | 13,920,770 |  |  |  |  |  |  |  |  |  |  |  |  |
Founder Co [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25.00% |  |  |  |  |  |  |  |  |  |  |  |
Minimum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Weighted average grant date fair value (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.53 |  | $ 3.8 |  | $ 3.08 |  |  |  |
Restricted share percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25.00% |  |  |  |  |  |  |  |  |  |  |
Minimum [Member] | Founder [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25.00% |  |  |  |  |  |  |  |  |  |  |  |
Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Weighted average grant date fair value (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1.2 |  | $ 3.93 |  | 3.87 |  |  |  |
Restricted share percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 75.00% |  |  |  |  |  |  |  |  |  |  |
Maximum [Member] | Founder [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Vesting percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 75.00% |  |  |  |  |  |  |  |  |  |  |  |
2018 WN Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum aggregate of issued shares |  |  |  |  |  |  |  |  |  |  | 21,717,118 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 22,317,118
Share based compensation options vested rate |  |  |  |  |  |  |  |  |  |  |  | 25.00% |  |  |  |  | 25.00% |  |  |  |  |  |  |  |  |  |
Incremental fair value of option |  |  |  |  |  |  |  |  |  |  | 14,358,812 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of the modified awards | ¥ |  |  |  |  |  |  |  |  |  |  | ¥ 253,673 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
incremental vested fair value (in Yuan Renminbi) | ¥ |  |  |  |  |  |  |  |  |  |  | ¥ 35,617 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2021 Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum aggregate of issued shares |  |  |  |  |  |  |  |  |  | 21,717,118 |  |  |  |  |  |  | 21,717,118 |  |  |  |  |  |  |  |  |  |
Share based compensation options vested rate |  |  |  |  |  | 25.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of the modified awards |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 7,460 | $ 17,224 |  |  |  |  |  |  |  |
incremental vested fair value (in Yuan Renminbi) | ¥ |  |  |  |  |  |  |  |  |  | ¥ 117,520 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Addition number of ordinary shares |  |  |  | 16,523,627 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares option granted |  |  |  |  | 3,305,000 |  |  |  |  |  |  |  |  |  |  |  |  | 7,190,000 | 7,190,000 |  |  |  |  |  |  |  |
Employees [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share based compensation expenses | ¥ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 27,757 |  | ¥ 191,583 |  |  |  |  |  |  |
Share option held by employee |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 230,577 | 230,577 | 274,500 | 274,500 |  |  |  |  |  |
Weighted average exercise price (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.66 | $ 0.61 |
Weighted average remaining contractual years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 8 years 2 months 23 days | 8 years 2 months 23 days | 8 years 11 months 1 day | 8 years 11 months 1 day |  |  |  |  |  |
Options were vested and exercisable | 144,382 |  | 141,750 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 144,382 |  | 141,750 |  |  |  |  |  |  |
Vested weighted average exercise price (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.69 | $ 0.55 |
Weighted average remaining contractual years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 8 years 10 days | 8 years 10 days | 8 years 11 months 1 day | 8 years 11 months 1 day |  |  |  |  |  |
Aggregate intrinsic value of the outstanding options (in Yuan Renminbi) | ¥ | ¥ 49 |  | ¥ 4,364 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 49 |  | ¥ 4,364 |  |  |  |  |  |  |
Aggregate intrinsic value of exercisable options (in Yuan Renminbi) | ¥ | ¥ 11 |  | ¥ 2,319 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11 |  | ¥ 2,319 |  |  |  |  |  |  |
Employees [Member] | 2021 Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares option granted |  | 57,791 |  |  |  |  |  |  |  | 510,500 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Restricted Stock [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share based compensation expenses | ¥ |  |  |  |  |  |  |  |  | ¥ 71 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares option granted |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Weighted average grant date fair value (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1.18 |  |  |  |  |  |  |  |  |  |  |  |  |
Repurchase shares |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,640,444 |  |  |  |  |  |  |  |  |  |  |  |  |
Vested share option |  |  |  |  |  |  | 6,755,330 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Unvested restricted shares |  |  |  |  |  |  |  | 6,755,330 | 75,000 |  |  |  |  |  |  |  |  |  |  |  |  | 6,755,330 | 6,755,330 | 13,660,660 |  |  |
Founder [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Price per share (in Dollars per share) | $ / shares |  |  |  |  |  |  |  |  |  |  |  |  | $ 0.85 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Predecessors [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share based compensation expenses |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 100,988 |  |  |  |  |
Executive Officer [Member] | 2021 Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of the modified awards | ¥ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 6,449 |  |  |  |  |  |  |  |  |
Shares option granted |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 500,000 | 500,000 |  |  |  |  |  |  |  |
Predecessors to Employees [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share based compensation expenses |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 100,629 |  |  |  |  |
Founder Co [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Restricted ordinary shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 13,036,792 |  |  |  |  |  |  |  |  |  |  |  |
Founder [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Share Based Compensation Expenses [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Granted restricted shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 55,683,082 |  |  |  |  |  |  |  |  |  |  |  |
Vested share option |  |  |  |  |  |  |  |  |  |  |  |  | 600,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition Represent the amount of incremental fair value of vested. + References No definition available. + Details
Name: | qsg_IncrementalFairValueOfVested
Namespace Prefix: | qsg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Restricted share percentage. + References No definition available. + Details
Name: | qsg_RestrictedSharePercentage
Namespace Prefix: | qsg_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Restriction of ordinary shares held by the founder description. + References No definition available. + Details
Name: | qsg_RestrictionOfOrdinarySharesHeldByTheFounderDescription
Namespace Prefix: | qsg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The highest percentage of options vested rate. + References No definition available. + Details
Name: | qsg_ShareBasedCompensationOptionsVestedRate
Namespace Prefix: | qsg_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Deemed dividends to Parent Company in connection with the share-based awards to employees of related parties. + References No definition available. + Details
Name: | qsg_StockIssuedDuringValueDeemedDividendsToParentCompanyInConnectionWithTheSharebasedAwardsToEmployees
Namespace Prefix: | qsg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.F) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479830/718-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
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 No definition available. + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualPostretirementBenefitsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of outstanding written put options using the reverse treasury stock method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 23 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-23 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 35 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-35 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 36 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-36 + Details
Name: | us-gaap_IncrementalCommonSharesAttributableToWrittenPutOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number, after shares used to satisfy grantee's tax withholding obligation for award under share-based payment arrangement, of restricted shares issued. Excludes cash used to satisfy grantee's tax withholding obligation. + References No definition available. + Details
Name: | us-gaap_RestrictedStockSharesIssuedNetOfSharesForTaxWithholdings
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Gross number of share options (or share units) granted during the period. + 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)(01) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount by which current fair value of underlying stock exceeds exercise price of fully vested and expected to vest exercisable or convertible options. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of fully vested and expected to vest exercisable options that may be converted into shares under option plan. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest exercisable or convertible options. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Per share weighted-average price paid for shares purchased on open market for issuance under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition An excess of the fair value of the modified award over the fair value of the award immediately before the modification. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(2)(iii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationIncrementalCompensationCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Price of a single share of a number of saleable stocks of a company. + References No definition available. + Details
Name: | us-gaap_SharePrice
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares for which recognition of cost was accelerated for award under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAcceleratedVestingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of vesting of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
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 Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 718 -SubTopic 10 -Subparagraph (e)(1) -Name Accounting Standards Codification -Paragraph 2 -Section 50 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average remaining contractual term for fully vested and expected to vest exercisable or convertible options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share or per unit amount of equity securities issued. + References No definition available. + Details
Name: | us-gaap_SharesIssuedPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. + 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://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_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares related to Restricted Stock Award forfeited 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://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_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited
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 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
- Details
Name: | us-gaap_VestingAxis=qsg_FounderCoMember
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: | us-gaap_VestingAxis=qsg_FounderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_PlanNameAxis=qsg_TwoThousandEighteenWNPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=qsg_TwoThousandTwentyOnePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=qsg_EmployeesMember
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_AwardTypeAxis=qsg_FounderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=qsg_PredecessorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=qsg_PredecessorsToEmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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