v3.21.2

Convertible Senior Notes - Capped Call Transactions Narrative, 2025 Notes (Details) - Convertible Notes Due 2025 - Convertible Debt $ / shares in Units, $ in Millions | 1 Months Ended
--- | ---
Nov. 30, 2020 USD ($) $ / shares
Debt Instrument [Line Items] |
Initial strike price (in usd per share) | $ 140.1443
Initial cap price (in usd per share) | $ 211.54
Cost incurred in connection with capped calls | $ | $ 39.8

X
- Definition Debt Instrument, Convertible, Capped Calls Expense + References No definition available. + Details
Name: | qtwo_DebtInstrumentConvertibleCappedCallsExpense
Namespace Prefix: | qtwo_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Debt Instrument, Convertible, Capped Calls Initial Cap Price + References No definition available. + Details
Name: | qtwo_DebtInstrumentConvertibleCappedCallsInitialCapPrice
Namespace Prefix: | qtwo_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Convertible, Capped Calls Initial Strike Price + References No definition available. + Details
Name: | qtwo_DebtInstrumentConvertibleCappedCallsInitialStrikePrice
Namespace Prefix: | qtwo_
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
- Details
Name: | us-gaap_DebtInstrumentAxis=qtwo_ConvertibleNotesDue2025Member
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: |