v3.21.2

Stock-Based Compensation - Narrative (Details) - shares |  | 9 Months Ended |
--- | --- | --- | ---
Jan. 01, 2021 | Sep. 30, 2021 | Dec. 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Common stock, granted (in shares) |  | 0 |
2014 Stock Plan |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Shares reserved for future issuance under the plan (in shares) |  |  | 13,322
Additional shares authorized under the plan, percentage increase |  | 4.50% |
Automatic annual increase (in shares) | 2,500,000 |  |
Shares transferred from the previous plan that expired or terminated (in shares) |  | 0 |
Shares allocated for issuance (in shares) |  | 15,823,000 |
Common stock, granted (in shares) |  | 2,706,000 |
Shares available for future issuance under the plan (in shares) |  | 7,802,000 |
2014 Stock Plan | Restricted Stock Units (RSUs) |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Shares reserved for future issuance under the plan (in shares) |  | 6,652,000 |
Shares transferred from the previous plan that expired or terminated (in shares) |  | 1,337,000 |
2007 Stock Plan |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |
Shares available for future issuance under the plan (in shares) |  | 0 |

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized, Automatic Annual Increase + References No definition available. + Details
Name: | qtwo_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofAdditionalSharesAuthorizedAutomaticAnnualIncrease
Namespace Prefix: | qtwo_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized, Automatic Annual Percentage Increase + References No definition available. + Details
Name: | qtwo_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofAdditionalSharesAuthorizedAutomaticAnnualPercentageIncrease
Namespace Prefix: | qtwo_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Number of Expired Shares Transferred from Previous Plan + References No definition available. + Details
Name: | qtwo_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberofExpiredSharesTransferredfromPreviousPlan
Namespace Prefix: | qtwo_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate number of common shares reserved for future issuance. + 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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 Number of shares authorized for issuance 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)(3) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

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 -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + 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 No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PlanNameAxis=qtwo_A2014StockPlanMember
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_PlanNameAxis=qtwo_A2007StockPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |