XML 81 R63.htm IDEA: XBRL DOCUMENT
v3.20.4

Investments (Details) - USD ($) $ in Thousands | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2020 | Jul. 31, 2020 | Dec. 31, 2019
Schedule of Equity Method Investments [Line Items] |  |  |
Equity and other investments | $ 173,454 |  | $ 2,500
Affirm Holdings, Inc. |  |  |
Schedule of Equity Method Investments [Line Items] |  |  |
Equity and other investments | 158,000 |  |
Unrealized gain on equity and other investments | $ 133,239 |  |
Fair value measurement of investment |  | $ 24,710 |

X
- Definition Equity Method Investments And Other Investments + References No definition available. + Details
Name: | shop_EquityMethodInvestmentsAndOtherInvestments
Namespace Prefix: | shop_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)) -URI http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=120269885&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120269885&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_ScheduleOfEquityMethodInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=shop_AffirmHoldingsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |