Significant Accounting Policies | Significant Accounting Policies Use of Estimates The preparation of consolidated financial statements, in accordance with U.S. GAAP, requires management to make estimates, judgments and assumptions that affect the reported amounts of assets and liabilities at the date of the consolidated financial statements and the reported amounts of revenues and expenses during the reporting period. Significant estimates, judgments and assumptions in these consolidated financial statements include: key judgments related to revenue recognition in determining whether the Company is the principal or an agent to the arrangements with merchants; estimates of expected credit losses related to financial assets measured at amortized cost, including contract balances and merchant cash advances and loans; inputs used to fair value acquired intangible assets and equity and other investments; estimates involved in evaluating the recoverability of our right-of-use assets and leasehold improvements, including, but not limited to, the estimated useful lives of right-of-use assets and leasehold improvements; and the incremental borrowing rate applied to lease payments. Actual results may differ from the estimates made by management. Revenue Recognition The Company's sources of revenue consist of subscription solutions and merchant solutions. The Company principally generates subscription solutions revenue through the sale of subscriptions to the platform. The Company also generates additional subscription solutions revenues from the sale of subscriptions to the Point-of-Sale (POS) Pro offering for brick and mortar merchants, the sale of themes and apps, the registration of domain names, and the collection of variable platform fees. The Company generates merchant solutions revenue by providing additional services to merchants to increase their use of the platform. The Company earns merchant solutions revenue relating to Shopify Payments, Shopify Shipping, other transaction services, referral fees, the sale of POS hardware, advertising revenue on the Shopify App Store, Shopify Email, Shopify Capital, Shop Pay Installments, Shopify Fulfillment Network, and collaborative warehouse fulfillment solutions. Arrangements with merchants do not provide the merchants with the right to take possession of the software supporting the Company’s hosting platform at any time and are therefore accounted for as service contracts. The Company’s subscription service contracts do not provide for refunds or any other rights of return to merchants in the event of cancellations. The Company recognizes revenue to depict the transfer of promised services to merchants in an amount that reflects the consideration to which the Company expects to be entitled in exchange for those services by applying the following steps: • Identify the contract with a merchant; • Identify the performance obligations in the contract; • Determine the transaction price; • Allocate the transaction price; and • Recognize revenue when, or as, the Company satisfies a performance obligation. The Company follows the guidance provided in ASC 606, Revenue from Contracts with Customers, for determining whether the Company is the principal or an agent in arrangements with customers that involve another party that contributes to providing a specified service to a customer. In these instances, the Company determines whether it has promised to provide the specified service itself (as principal) or to arrange for the specified service to be provided by another party (as an agent). This determination depends on the facts and circumstances of each arrangement and, in some instances, involves significant judgment. The Company recognizes revenue from Shopify Shipping, the sales of apps and Shop Pay Installments on a net basis as the Company is not primarily responsible for the fulfillment, does not have control of the promised service, and does not have full discretion in establishing prices and therefore is the agent in the arrangement with merchants. All other revenue is reported on a gross basis, as the Company has determined it is the principal in the arrangement. Sales taxes collected from merchants and remitted to government authorities are excluded from revenue. The Company's arrangements with merchants can include multiple performance obligations, which may consist of some or all of the Company's subscription solutions. When contracts involve multiple performance obligations, the Company evaluates whether each performance obligation is distinct and should be accounted for as a separate unit of accounting under Topic 606. In the case of subscription solutions, the Company has determined that merchants can benefit from the service on its own, and that the service being provided to the merchant is separately identifiable from other promises in the contract. Specifically, the Company considers the distinct performance obligations to be the subscription solution, custom themes, feature-enhancing apps and unique domain names. The total transaction price is determined at the inception of the contract and allocated to each performance obligation based on their relative standalone selling prices. In the case of merchant solutions, the transaction price for each performance obligation is based on the observable standalone selling price for each performance obligation. The transaction price for multiple merchant solutions is never a bundled price, therefore a relative allocation is not required. The Company determined the standalone selling price by considering its overall pricing objectives and market conditions. Significant pricing practices taken into consideration for our subscription solutions include discounting practices, the size and volume of our transactions, the customer demographic, the geographic area where services are sold, price lists, our go-to-market strategy, historical standalone sales and contract prices. The determination of standalone selling prices is made through consultation with and approval by our management, taking into consideration our go-to-market strategy. As the Company's go-to- market strategies evolve, the Company may modify its pricing practices in the future, which could result in changes in relative standalone selling prices. The Company generally receives payment from its merchants at the time of invoicing. In all other cases, payment terms and conditions vary by contract type, although terms generally include a requirement for payment within 30 days of the invoice date. In instances where timing of revenue recognition differs from the timing of invoicing and subsequent payment, we have determined our contracts do not include a significant financing component. Subscription Solutions Subscription revenue from the sale of subscriptions to the platform is recognized over time on a ratable basis over the contractual term. The contract terms are monthly, annual or multi-year subscription terms. Revenue recognition begins on the date that the Company’s service is made available to the merchant. Certain subscription contracts have a transaction price that includes a variable component that is based on the merchants' volume of sales. In such cases, the Company uses the exception to the general principles for accounting for variable consideration, which allows it to recognize revenue when the sale occurs and the performance obligation has been satisfied. Subscription revenue from the sale of POS Pro subscriptions is recognized over time on a ratable basis over the monthly contractual term. Payments received in advance of services being rendered are recorded as deferred revenue and recognized ratably over time, over the requisite service period. Revenue from the sale of separately priced themes and apps is recognized at a point in time, when control transfers. Revenue from the sale of rights to use a domain name that is sold separately, is recognized ratably over time, over the contractual term, which is generally an annual term. Revenue from themes, apps and domains have been classified within subscription solutions on the basis that they are products sold at the time the merchant initially enters into the subscription services arrangement or because the customer purchases the right to use the product over the term of the contract, similar to a subscription. Merchant Solutions Revenues earned from Shopify Payments, Shopify Shipping related to the sale of shipping labels, other transaction services, and referral fees are recognized at a point in time, at the time of the transaction. For the sale of POS hardware, revenue is recognized at a point in time, based on when ownership passes to the merchant, in accordance with the shipping terms. Advertising revenue on the Shopify App Store is recognized at a point in time as merchants click on the advertised apps. Shopify Email revenue is recognized at a point in time based on the merchants' volume of emails sent. The Company also earns revenue from Shopify Capital, a merchant cash advance (MCA) and loan program for eligible merchants. The Company evaluates identified underwriting criteria such as, but not limited to, historical sales data prior to purchasing the eligible merchant's future receivables, or making a loan, to help ensure collectibility. Under Shopify Capital, the Company purchases a designated amount of future receivables at a discount or makes a loan, and the merchant remits a fixed percentage of their daily sales to the Company, until the outstanding balance has been fully remitted. For Shopify Capital MCA's, the Company applies a percentage of the remittances collected against the merchant's receivable balance, and a percentage, which is related to the discount, as merchant solutions revenue. For Shopify Capital loans, because there is a fixed maximum repayment term, the Company calculates an effective interest rate based on the merchant's expected future payment volume to determine how much of a merchant's repayment to recognize as revenue and how much to apply against the merchant's receivable balance. Revenues earned from Shop Pay Installments, a "buy now pay later" product, are recognized at a point in time when a merchant makes a sale using this product, and is based on a percentage of the total order value. The Company earns and recognizes a portion of the revenue from each merchant sale, with the majority of revenue earned and recognized by our third-party provider that bears the buyer underwriting and buyer credit risk associated with the product. Revenues earned from Shopify Fulfillment Network related to warehouse storage and outbound shipping are recognized over time, as merchants receive and consume the benefits obtained from the warehouse storage service and shipping service, respectively. Revenues related to picking, packaging, and preparing orders for shipment are recognized once the services have been rendered. Revenues earned from offering cloud-based software on collaborative warehouse fulfillment solutions are recognized over time, over the contractual term, which can be up to five years. Payments received in advance of services being rendered are recorded as deferred revenue and recognized ratably over time, over the requisite service period. Capitalized Contract Costs As part of obtaining contracts with certain merchants, the Company incurs upfront costs such as sales commissions. The Company capitalizes these contract costs, which are subsequently amortized on a systematic basis consistent with the pattern of the transfer of the good or service to which the contract asset relates, which is generally on a straight-line basis over the estimated life of the merchant relationship. In some instances, the Company applies the practical expedient that allows it to determine this estimate for a portfolio of contracts that have similar characteristics in terms of type of service, contract term and pricing. This estimate is reviewed by management at the end of each reporting period as additional information becomes available. For certain contracts where the amortization period of the contract costs would have been one year or less, the Company uses the practical expedient that allows it to recognize the incremental costs of obtaining those contracts as an expense when incurred and not consider the time value of money. Cost of Revenues The Company’s cost of revenues related to subscription solutions consist of third-party infrastructure and hosting costs, an allocation of costs incurred by both the operations and support functions, credit card fees related to billing our merchants, payments for themes and domain registration, and acquired intangible assets. The Company's cost of revenues related to merchant solutions include payment processing and interchange fees related to Shopify Payments, credit card fees related to billing its merchants, product costs associated with expanding our product offerings, amortization of acquired intangible assets relating mostly to the acquired 6 River Systems, LLC (6RS) technology, POS hardware costs, third-party infrastructure and hosting costs, and an allocation of costs incurred by both the operations and support functions. Merchant solutions cost of revenues also include costs associated with warehouse storage, outbound shipping, picking, packaging, and the preparation of orders for shipment as part of the Shopify Fulfillment Network offering, and materials and third-party manufacturing costs associated with 6RS for those fulfillment robots sold to customers rather than leased to customers, which are capitalized and depreciated into cost of revenues. Software Development Costs Research and development costs are generally expensed as incurred. These costs primarily consist of personnel and related expenses, contractor and consultant fees, stock-based compensation, and corporate overhead allocations, including depreciation. The Company capitalizes certain development costs incurred in connection with its internal use software. These capitalized costs are related to the development of its software platform that is hosted by the Company and accessed by its merchants on a subscription basis as well as material internal infrastructure software. Costs incurred in the preliminary stages of development are expensed as incurred. The Company capitalizes all direct and incremental costs incurred during the application development phase, until such time when the software is substantially complete and ready for its intended use. Capitalization ceases upon completion of all substantial testing. The Company also capitalizes costs related to specific upgrades and enhancements when it is probable the expenditures will result in additional features and functionality. Capitalized costs are recorded as part of intangible assets in the consolidated balance sheets and are amortized on a straight-line basis over their estimated useful lives of two or three years. Maintenance costs are expensed as incurred. Advertising Costs Advertising costs are expensed as incurred. Advertising costs included in sales and marketing expenses during the years ended December 31, 2020 and 2019 were $240,555 and $177,607 respectively. Leases The Company accounts for leases by first determining if an arrangement is a lease at inception. Right-of-use assets represent the Company's right to use an underlying asset for the lease term and lease liabilities represent the Company's obligation to make lease payments arising from the lease. The right-of-use assets and lease liabilities are recognized at the commencement date based on the present value of lease payments over the lease term. The Company's leases do not provide an implicit rate, therefore, the incremental borrowing rate based on the information available at commencement date was used to determine the present value of lease payments. The right-of-use assets exclude lease incentives, which are accounted as a reduction of lease liabilities if they have not yet been received. The Company's lease terms may include options to extend or terminate the lease. These options are included in the lease terms when it is reasonably certain they will be exercised. Lease expense related to lease components is recognized on a straight-line basis over the lease term. The carrying values of right-of-use assets are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amounts of such assets may not be recoverable. The determination of whether any impairment exists includes a comparison of estimated undiscounted future cash flows anticipated to be generated over the remaining life of an asset or asset group to their net carrying value. If the estimated undiscounted future cash flows associated with the asset or asset group are less than the carrying value, an impairment loss will be recorded based on the estimated fair value. For right-of-use assets that are impaired, the remaining carrying value of the right-of-use assets are amortized on a straight line basis over the remaining term of the lease. The Company's lease agreements include lease and non-lease components, which are accounted for separately under Topic 842, Leases. Variable lease components and non-lease components are excluded from the lease payments used to calculate the right-of-use assets and lease liabilities, and are recorded in the period in which the obligation for the payment is incurred. The Company adopted the new leasing standard effective January 1, 2019, using the modified retrospective approach. As the Company previously included non-lease components in the calculation of lease incentives under Topic 840, the transition to Topic 842 resulted in an $8,375 cumulative adjustment to reduce opening accumulated deficit on January 1, 2019. Stock-Based Compensation The accounting for stock-based awards is based on the fair value of the award measured at the grant date. Accordingly, stock-based compensation cost is recognized in the consolidated statements of operations and comprehensive income (loss) as an operating expense over the requisite service period. The fair value of stock options is determined using the Black-Scholes option-pricing model, single option approach. An estimate of forfeitures is applied when determining compensation expense. The Company determines the fair value of stock option awards on the date of grant using assumptions regarding expected term, share price volatility over the expected term of the awards, risk-free interest rate, and dividend rate. All shares issued under the Company's Fourth Amended and Restated Stock Option Plan (Legacy Option Plan), the Amended and Restated Stock Option Plan (Stock Option Plan), and the Amended and Restated Long Term Incentive Plan (Long Term Incentive Plan), and 6 River Amended and Restated Stock Option and Grant Plan are from treasury. The fair value of restricted share units (RSUs) is measured using the fair value of the Company's shares as if the RSUs were vested and issued on the grant date. An estimate of forfeitures is applied when determining compensation expense. All shares issued under the Company's Long Term Incentive Plan (LTIP) are from treasury. Income Taxes Income tax expense includes Canadian, U.S., and foreign income taxes. Deferred tax assets and liabilities are determined based on the difference between the financial statement carrying amounts and the tax bases of assets and liabilities using enacted tax rates in effect for the year in which the differences are expected to affect taxable income. Valuation allowances are established when necessary to reduce deferred tax assets to the amounts that are more likely than not to be realized. We consider many factors when assessing the likelihood of future realization of our deferred tax assets, including our recent cumulative loss experience and expectations of future earnings, capital gains and investment in the applicable jurisdiction, the carry-forward periods available to us for tax reporting purposes, and other relevant factors. The Company evaluates tax positions taken or expected to be taken in the course of preparing tax returns to determine whether the tax positions have met a “more-likely-than-not” threshold of being sustained by the applicable tax authority. Tax benefits related to tax positions not deemed to meet the “more-likely-than-not” threshold are not permitted to be recognized in the consolidated financial statements. Earnings Per Share Basic earnings per share are calculated by dividing net earnings attributable to common equity holders of the Company by the weighted average number of shares of common stock outstanding during the year. Diluted earnings per share are calculated by dividing net earnings attributable to common equity holders of the Company by the weighted average number of shares of common stock outstanding during the year, plus the effect of dilutive potential common stock outstanding during the year. The Company uses the treasury stock method for calculating the effect of dilutive potential common stock from employee stock options and employee RSUs. This method requires that dilutive effect be calculated as if all dilutive potential common stock had been exercised at the latest of the beginning of the year or on the date of issuance, as the case may be, and that the funds obtained thereby (plus an amount equivalent to the unamortized portion of related stock-based compensation costs) be used to purchase common stock of the Company at the average fair value of the common stock during the year. The Company uses the if-converted method for calculating the effect of dilutive potential common stock from its 0.125% convertible senior notes due 2025 (the "Notes"). If the effect of the if-converted method is dilutive, net earnings are adjusted for the after tax effect of debt interest relating to the Notes and the amount of dilutive potential common stock are included in the total number of shares used to compute diluted earnings per share. If the effect of the if-converted method is anti-dilutive, no adjustments are made to net earnings or the total number of shares used to compute diluted earnings per share. The Company applies this method by using the common stock issuable upon conversion determined by the end-of-period conversion price. Foreign Currency Translation and Transactions The functional and reporting currency of the Company and its subsidiaries is the USD. Monetary assets and liabilities denominated in foreign currencies are re-measured to USD using the exchange rates at the consolidated balance sheet dates. Non-monetary assets and liabilities denominated in foreign currencies are measured in USD using historical exchange rates. Revenues and expenses are measured using the actual exchange rates prevailing on the dates of the transactions. Gains and losses resulting from re-measurement are recorded in the Company’s consolidated statements of operations and comprehensive income (loss) as foreign exchange gain (loss), with the exception of foreign exchange forward contracts used for hedging which are re-measured in other comprehensive income (loss) and the gain (loss) is then reclassified into earnings to either cost of revenue or operating expenses in the same period, or period, during which the hedged transaction affects earnings. Cash and Cash Equivalents The Company considers all short term highly liquid investments that are readily convertible into known amounts of cash, with original maturities at their acquisition date of three months or less to be cash equivalents. Marketable Securities The Company’s marketable securities consist of U.S. and Canadian federal agency bonds, U.S. term deposits, and corporate bonds and commercial paper, and mature within 12 months from the date of purchase. Marketable securities are classified as held-to-maturity at the time of purchase and this classification is re-evaluated as of each consolidated balance sheet date. Held-to-maturity securities represent those securities that the Company has both the positive intent and ability to hold to maturity and are carried at amortized cost. Interest on these securities, as well as amortization/accretion of premiums/discounts, are included in interest income. Marketable securities are assessed as to whether any unrealized loss positions are other than temporarily impaired. Impairments are considered other than temporary if they are related to deterioration in credit risk or if it is likely the Company would be required to sell the securities before the recovery of their remaining amortized cost basis. Realized gains and losses determined to be other than temporary are determined based on the specific identification method and are reported in other income (expense) in the consolidated statements of operations and comprehensive income (loss). Investments The Company has minority equity and other investments in private companies without readily determinable fair values that it carries at cost with adjustments for observable changes in price or impairments (referred to as the measurement alternative). Fair Value Measurements The carrying amounts for cash and cash equivalents, marketable securities, trade and other receivables, merchant cash advances receivable, loans, trade accounts payable and accruals, and employee related accruals approximate fair value due to the short-term maturities of these instruments. The Company measures the fair value of its financial assets and liabilities using a fair value hierarchy. A financial instrument’s classification within the fair value hierarchy is based upon the lowest level of input that is significant to the fair value measurement. Three levels of inputs may be used to measure fair value. Level 1: Quoted prices in active markets for identical assets or liabilities. Level 2: Observable inputs other than Level 1 prices such as quoted prices for similar assets or liabilities; quoted prices in markets that are not active; or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. Level 3: Unobservable inputs that are supported by little or no market activity and that are significant to the fair value of the assets or liabilities. Level 3 assets and liabilities include financial instruments whose value is determined using pricing models, discounted cash flow methodologies, or similar techniques, as well as instruments for which the determination of fair value requires significant management judgment or estimation. Derivatives and Hedging The majority of the Company's derivative products are foreign exchange forward contracts, which are designated as cash flow hedges of foreign currency forecasted expenses. By their nature, derivative financial instruments involve risk, including the credit risk of non-performance by counterparties. The Company may hold foreign exchange forward contracts to mitigate the risk of future foreign exchange rate volatility related to future Canadian dollar (CAD) denominated costs and current and future obligations. The Company's foreign currency forward contracts generally have maturities of twelve months or less. The critical terms match method is used when the key terms of the hedging instrument and that of the hedged item are aligned; therefore, the changes in fair value of the forward contracts are recorded in accumulated other comprehensive income (AOCI). The effective portion of the gain or loss on each forward contract is reported as a component of AOCI and reclassified into earnings to either cost of revenue or operating expense in the same period, or periods, during which the hedged transaction affects earnings. The ineffective portion of the gains or losses, if any, is recorded immediately in other income (expense). For hedges that do not qualify for the critical terms match method of accounting, a formal assessment is performed to verify that derivatives used in hedging transactions continue to be highly effective in offsetting the changes in fair value or cash flows of the hedged item. Hedge accounting is discontinued if a derivative ceases to be highly effective, matures, is terminated or sold, if a hedged forecasted transaction is no longer probable of occurring, or if the Company removes the derivative's hedge designation. For discontinued cash flow hedges, the accumulated gain or loss on the derivative remains in AOCI and is reclassified into earnings in the period in which the previously hedged forecasted transaction impacts earnings or is no longer probable of occurring. In addition, the Company has a master netting agreement with each of the Company's counterparties, which permits net settlement of multiple, separate derivative contracts with a single payment. The Company presents its derivative instruments on a net basis in the consolidated financial statements. Provision for Credit Losses Related to Merchant Cash Advances and Loans Merchant cash advance receivables and loans represent the aggregate amount of Shopify Capital related receivables owed by merchants as of the balance sheet date, net of an allowance for expected credit losses. The Company estimates the provision based on an assessment of various factors, including historical trends, merchants' gross merchandise volume, supportable forecasted information and other factors, including the potential impact of the novel coronavirus ("COVID-19"), that may affect the merchants' ability to make future payments on the receivables. Additions to the provision are reflected in current operating results, while charges against the provision are made when losses are incurred. These additions are classified within transaction and loan losses on the consolidated statements of operations and comprehensive income (loss). Recoveries are reflected as a reduction in the allowance for credit losses related to merchant cash advances and loans when the recovery occurs. Provision for Transaction Losses Related to Shopify Payments and Shop Pay Installments Shopify Payments and Shop Pay Installments losses arise when refunded merchant transactions cannot be recovered. The Company estimates the provision based on an assessment of various factors, including historical trends, gross merchandise volume facilitated using Shopify Payments and Shop Pay Installments, supportable forecasted information and other factors, including the potential impact of COVID-19, that may increase the volume of refunded transactions. Additions to the provision are reflected in current operating results, while charges against the provision are made when losses are incurred. These additions are classified within transaction and loan losses on the consolidated statements of operations and comprehensive income (loss). Convertible Senior Notes The Company accounts for the Notes as separate liability and equity components. The Company determined the carrying amount of the liability component as the fair value of a similar debt instrument that does not have an associated conversion feature. The carrying amount of the equity component representing the conversion option was calculated by deducting the fair value of the liability component from the principal amount of the Notes. This difference represents a debt discount that is amortized to interest expense over the term of the Notes using the effective interest rate method. The equity component is not remeasured as long as it continues to meet the conditions for equity classification. The offering costs incurred related to the issuance of the Notes were allocated to the liability and equity components based on their relative initial carrying values. Offering costs attributable to the liability component are being amortized to interest expense over the respective terms of the Notes, and offering costs attributable to the equity component are netted against the equity component of the Notes in shareholders' equity. Property and Equipment Property and equipment is stated at cost, less accumulated depreciation and impairment. Depreciation is calculated using the straight-line method over the estimated useful lives of the related assets. Computer equipment and fulfillment robots are depreciated over the lesser of three years and their estimated useful lives while office furniture and equipment are depreciated over four years. Leasehold improvements are amortized on a straight-line basis over the shorter of their estimated useful lives or the term of their associated leases, which range from one The carrying values of property and equipment are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amou |