XML 102 R84.htm IDEA: XBRL DOCUMENT
v3.20.4

Convertible Senior Notes (Details) $ / shares in Units, $ in Thousands | 1 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2020 USD ($) $ / shares | Dec. 31, 2020 USD ($) d | Dec. 31, 2019 USD ($)
Debt Instrument [Line Items] |  |  |
Proceeds from convertible senior notes, net of underwriting fees and offering costs |  | $ 907,950 | $ 0
0.125% Convertible Senior Notes Due 2025 | Convertible Debt |  |  |
Debt Instrument [Line Items] |  |  |
Aggregate principal amount | $ 920,000 |  |
Stated interest rate | 0.125% |  |
Proceeds from convertible senior notes, net of underwriting fees and offering costs | $ 907,950 |  |
Conversion ratio | 0.0006944 |  |
Conversion price | $ / shares | $ 1,440.09 |  |
Equity component, gross amount |  | 158,810 |
Issuance costs attributable to the liability component |  | 9,944 |
Issuance costs attributable to the equity component |  | $ 2,106 |
0.125% Convertible Senior Notes Due 2025 | Convertible Debt | Stock Price Trigger Measurement |  |  |
Debt Instrument [Line Items] |  |  |
Threshold number of trading days (day) | d |  | 20 |
Threshold number of consecutive trading days (day) | d |  | 30 |
Threshold percentage of stock price trigger | 130.00% |  |
0.125% Convertible Senior Notes Due 2025 | Convertible Debt | Notes Price Trigger Measurement |  |  |
Debt Instrument [Line Items] |  |  |
Threshold number of trading days (day) | d |  | 10 |
Threshold number of consecutive trading days (day) | d |  | 10 |
Threshold percentage of stock price trigger |  | 98.00% |
0.125% Convertible Senior Notes Due 2025 | Convertible Debt | Redemption, Option One |  |  |
Debt Instrument [Line Items] |  |  |
Threshold number of trading days (day) | d |  | 20 |
Threshold number of consecutive trading days (day) | d |  | 30 |
Threshold percentage of stock price trigger |  | 130.00% |
Redemption price, percentage |  | 100.00% |
0.125% Convertible Senior Notes Due 2025 | Convertible Debt | Redemption, Option Two |  |  |
Debt Instrument [Line Items] |  |  |
Redemption price, percentage |  | 100.00% |
Redemption, threshold amount of principal outstanding |  | $ 80,000 |
0.125% Convertible Senior Notes Due 2025 | Convertible Debt | Redemption, Option Three |  |  |
Debt Instrument [Line Items] |  |  |
Redemption price, percentage |  | 100.00% |
0.125% Convertible Senior Notes Due 2025 | Convertible Debt | Redemption, Option Four |  |  |
Debt Instrument [Line Items] |  |  |
Redemption price, percentage |  | 100.00% |
0.125% Convertible Senior Notes Due 2025 | Convertible Debt | Redemption, Option Five |  |  |
Debt Instrument [Line Items] |  |  |
Redemption price, percentage |  | 100.00% |
Redemption, ownership interest required to declare default |  | 0.25 |
Effective interest rate |  | 4.01% |

X
- Definition Debt Instrument, Convertible, Carrying Amount Of Equity Component, Net + References No definition available. + Details
Name: | shop_DebtInstrumentConvertibleCarryingAmountOfEquityComponentNet
Namespace Prefix: | shop_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Instrument, Convertible, Threshold Amount Of Principal Outstanding + References No definition available. + Details
Name: | shop_DebtInstrumentConvertibleThresholdAmountOfPrincipalOutstanding
Namespace Prefix: | shop_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt Instrument, Debt Default, Ownership Interest Required To Declare Default + References No definition available. + Details
Name: | shop_DebtInstrumentDebtDefaultOwnershipInterestRequiredToDeclareDefault
Namespace Prefix: | shop_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Issuance Costs, Gross, Equity Component + References No definition available. + Details
Name: | shop_DebtIssuanceCostsGrossEquityComponent
Namespace Prefix: | shop_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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=120520924&loc=SL6031898-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(5)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold period of specified consecutive trading days within which common stock price to conversion price of convertible debt instrument must exceed threshold percentage for specified number of trading days to trigger conversion feature. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum percentage of common stock price to conversion price of convertible debt instruments to determine eligibility of conversion. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold number of specified trading days that common stock price to conversion price of convertible debt instruments must exceed threshold percentage within a specified consecutive trading period to trigger conversion feature. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdTradingDays
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120520924&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
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 Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. + 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 (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=shop_ZeroPointOneTwoFivePercentConvertibleSeniorNotesDue2025Member
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_DebtConversionByUniqueDescriptionAxis=shop_DebtConversionTermsOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=shop_DebtConversionTermsTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=shop_DebtRedemptionTermsOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=shop_DebtRedemptionTermsTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=shop_DebtRedemptionTermsThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=shop_DebtRedemptionTermsFourMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtConversionByUniqueDescriptionAxis=shop_DebtRedemptionTermsFiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |