v3.21.2

Commitments and Contingencies - Narrative (Details) ft² in Thousands, $ in Thousands | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2021 USD ($) | Sep. 30, 2020 USD ($) | Jun. 30, 2020 USD ($) | Sep. 30, 2021 USD ($) ft² building | Sep. 30, 2020 USD ($) | Dec. 31, 2020 USD ($)
Other Commitments [Line Items] |  |  |  |  |  |
Number of buildings occupied | building |  |  |  | 2 |  |
Unoccupied lease charges | $ 1,244 | $ 1,468 |  | $ 2,056 | $ 2,136 |
Restructured lease liability, current | 8,658 |  |  | 8,658 |  | $ 6,844
Restructured lease liability, non-current | 63,700 |  |  | 63,700 |  | $ 36,739
Rent expense | 2,100 | 1,700 |  | 5,400 | 5,100 |
Termination fee paid | 7,600 |  | $ 5,600 |  |  |
Partnership termination charges | $ 0 | 0 | $ 13,200 | $ 0 | 13,244 |
Lease One |  |  |  |  |  |
Other Commitments [Line Items] |  |  |  |  |  |
Leased square feet | ft² |  |  |  | 129 |  |
Lease renewal term | 10 years |  |  | 10 years |  |
Lease Two |  |  |  |  |  |
Other Commitments [Line Items] |  |  |  |  |  |
Leased square feet | ft² |  |  |  | 129 |  |
Lease term | 10 years |  |  | 10 years |  |
Facilities |  |  |  |  |  |
Other Commitments [Line Items] |  |  |  |  |  |
Unoccupied lease charges | $ 1,200 | $ 1,500 |  | $ 2,100 | $ 2,100 |
Restructured lease liability, current | 1,200 |  |  | 1,200 |  |
Restructured lease liability, non-current | $ 2,200 |  |  | $ 2,200 |  |

X
- Definition Lessee Leasing Arrangements, Operating Leases, Leased Square Feet + References No definition available. + Details
Name: | qtwo_LesseeLeasingArrangementsOperatingLeasesLeasedSquareFeet
Namespace Prefix: | qtwo_
Data Type: | dtr-types:areaItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Buildings Occupied + References No definition available. + Details
Name: | qtwo_NumberofBuildingsOccupied
Namespace Prefix: | qtwo_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating Leases, Rent Expense, Unoccupied + References No definition available. + Details
Name: | qtwo_OperatingLeasesRentExpenseUnoccupied
Namespace Prefix: | qtwo_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Termination Fee Paid + References No definition available. + Details
Name: | qtwo_TerminationFeePaid
Namespace Prefix: | qtwo_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Term of lessee's operating lease renewal, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseRenewalTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiabilityNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_OtherCommitmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of other expense (income) that is infrequent in occurrence or unusual in nature. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=114868883&loc=SL114871943-224233 + Details
Name: | us-gaap_OtherNonrecurringIncomeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | qtwo_LeaseArrangementsAxis=qtwo_LeaseOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | qtwo_LeaseArrangementsAxis=qtwo_LeaseTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | qtwo_LeaseArrangementsAxis=qtwo_FacilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |