v3.21.2

Stockholders' Equity (Details) - USD ($) $ / shares in Units, $ in Thousands |  | 9 Months Ended
--- | --- | ---
May 15, 2020 | Sep. 30, 2021 | Sep. 30, 2020
Class of Stock [Line Items] |  |  |
Proceeds from issuance of common stock, net of issuance costs | $ 311,300 | $ 0 | $ 311,321
Underwriting discounts, commissions and offering costs | $ 12,700 |  |
Public Stock Offering |  |  |
Class of Stock [Line Items] |  |  |
Issuance of common stock from registered public offering (in shares) | 4,735,294 |  |
Issuance of common stock from registered public offering (in usd per share) | $ 76.50 |  |
Public Stock Offering - Shares From Parent |  |  |
Class of Stock [Line Items] |  |  |
Issuance of common stock from registered public offering (in shares) | 4,235,294 |  |
Public Stock Offering - Shares From Existing Shareholders |  |  |
Class of Stock [Line Items] |  |  |
Issuance of common stock from registered public offering (in shares) | 500,000 |  |

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 The cash outflow for cost incurred directly with the issuance of an equity security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfStockIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from the additional capital contribution to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

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

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

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