v3.21.2

Convertible Senior Notes - Bond Hedges and Warrant Transactions Narrative (Details) - USD ($) $ / shares in Units, $ in Thousands | 1 Months Ended | 9 Months Ended
--- | --- | ---
May 31, 2021 | Nov. 30, 2020 | Feb. 28, 2018 | Sep. 30, 2021 | Sep. 30, 2020
Debt Instrument [Line Items] |  |  |  |  |
Payments for warrants related to convertible notes |  |  |  | $ 19,655 | $ 0
Shares subject to warrants related to the issuance of the 2023 Notes | Convertible Debt |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Number of bond hedges and warrants issued, subject to anti-dilution adjustments (in shares) |  |  |  | 100,000 |
Bond Hedge |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Payments for hedge |  |  | $ (41,700) |  |
Bond Hedge | Shares subject to warrants related to the issuance of the 2023 Notes | Convertible Debt |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Number of bond hedges and warrants issued, subject to anti-dilution adjustments (in shares) | 100,000 |  | 900,000 |  |
Conversion price (usd per share) |  |  |  | $ 57.38 |
Number of securities called by warrants (in shares) |  | 700,000 |  |  |
Proceeds from Issuance of Warrants | $ 26,300 | $ 171,700 |  |  |
Warrant Transaction |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Number of bond hedges and warrants issued, subject to anti-dilution adjustments (in shares) |  |  | 4,000,000 |  |
Proceeds from Issuance of Warrants |  |  | $ 22,400 |  |
Warrant strike price (usd per share) |  |  |  | $ 78.75 |
Warrant Transaction | Shares subject to warrants related to the issuance of the 2023 Notes | Convertible Debt |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |
Number of bond hedges and warrants issued, subject to anti-dilution adjustments (in shares) | 600,000 |  |  | 200,000 |
Proceeds from Issuance of Warrants | $ 19,700 | 3,200 |  |  |
Payments for warrants related to convertible notes |  | $ 137,500 |  |  |

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of warrants or rights outstanding. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash outflow for a financial contract that meets the hedge criteria as either cash flow hedge, fair value hedge or hedge of net investment in foreign operations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 27 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3581-108585 + Details
Name: | us-gaap_PaymentsForHedgeFinancingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate amount paid by the entity to reacquire the right to purchase equity shares at a predetermined price, usually issued together with corporate debt. + 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 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsForRepurchaseOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from issuance of rights to purchase common shares at predetermined price (usually issued together with corporate debt). + 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_ProceedsFromIssuanceOfWarrants
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=qtwo_ConvertibleSeniorNotesDueFebruary2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=qtwo_BondHedgeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ClassOfWarrantOrRightAxis=qtwo_WarrantTransactionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |