v3.21.2

Summary of Significant Accounting Policies - Stock-Based Compensation (Details) - annualInstallment | 1 Months Ended | 9 Months Ended
--- | --- | ---
Mar. 31, 2021 | Sep. 30, 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Dividend yield |  | 0.00%
Stock options |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting period |  | 36 months
Stock options | Year One |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) |  | 25.00%
Award vesting period |  | 1 year
Restricted Stock Units (RSUs) |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Number of annual installments |  | 4
Restricted Stock Units (RSUs) | Year One |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) |  | 25.00%
Restricted Stock Units (RSUs) | Year Two |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) |  | 25.00%
Restricted Stock Units (RSUs) | Year Three |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) |  | 25.00%
Restricted Stock Units (RSUs) | Year Four |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) |  | 25.00%
Market Stock Units |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting period |  | 3 years
Market Stock Units | Year One |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) |  | 33.00%
Market Stock Units | Year Two |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) |  | 33.00%
Market Stock Units | Year Three |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) |  | 200.00%
Market Stock Units | Two-year vest, 2021 market stocks |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting rights (percentage) | 200.00% |
Award vesting period | 2 years |
Market Stock Units | Three-year vest, 2021 market stocks |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Award vesting period | 3 years |

X
- Definition Share-Based Compensation Arrangement By Share-Based Payment Award, Number Of Installments + References No definition available. + Details
Name: | qtwo_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfInstallments
Namespace Prefix: | qtwo_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iii) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of vesting of award under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=qtwo_SharebasedCompensationAwardTrancheFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_VestingAxis=qtwo_ShareBasedCompensationAwardTrancheFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=qtwo_ShareBasedCompensationAwardTrancheSixMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |