XML 52 R34.htm IDEA: XBRL DOCUMENT
v3.20.4

Significant Accounting Policies (Policies) | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Accounting Policies [Abstract] |  |
Basis of Consolidation |  | These consolidated financial statements include the accounts of the Company and its directly and indirectly held wholly owned subsidiaries including, but not limited to: Shopify International Limited, incorporated in Ireland; Shopify Commerce Singapore Pte. Ltd., incorporated in Singapore; and Shopify LLC, Shopify Payments (USA) Inc. and Shopify Holdings (USA) Inc., incorporated in the state of Delaware in the United States. All intercompany accounts and transactions have been eliminated upon consolidation.
Basis of Presentation |  | These consolidated financial statements of the Company have been presented in United States dollars (USD) and have been prepared in accordance with accounting principles generally accepted in the United States of America (U.S. GAAP), including the applicable rules and regulations of the Securities and Exchange Commission (SEC) regarding financial reporting.
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.
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. The Company’s exposure to foreign exchange risk is primarily related to fluctuations between the CAD and the USD. The Company is exposed to foreign exchange fluctuations on the revaluation of foreign currency assets and liabilities. The Company uses foreign exchange derivative products to manage the impact of foreign exchange fluctuations. By their nature, derivative financial instruments involve risk, including the credit risk of non-performance by counter parties.
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 to fifteen years. The carrying values of property and equipment 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.
Intangible Assets |  | Intangible assets are stated at cost, less accumulated amortization and impairment. Amortization is calculated using the straight-line method over the estimated useful lives of the related assets. Purchased software is amortized over a three year period, acquired technology is amortized over a two to nine year period, acquired customer relationships are amortized over a two to five year period, capitalized software development costs are amortized over a two to three year period, and other intangible assets are amortized over a three to ten year period. Amortization is recorded into cost of revenues and operating expenses, depending on the nature of the asset. The carrying values of intangible 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 the 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.
Goodwill |  | Goodwill represents the excess of the purchase price over the estimated fair value of net assets of a business acquired in a business combination. Goodwill is not amortized, but instead tested for impairment at least annually. Should certain events or indicators of impairment occur between annual impairment tests, the Company will perform the impairment test as those events or indicators occur. Examples of such events or circumstances include the following: a significant decline in the Company’s expected future cash flows; a sustained, significant decline in the Company’s fair value; a significant adverse change in the business climate; and slower growth rates. Goodwill is tested for impairment at the reporting unit level by first performing a qualitative assessment to determine whether it is more likely than not that the fair value of the reporting unit is less than its carrying value. The qualitative assessment considers the following factors: macroeconomic conditions, industry and market considerations, cost factors, overall company financial performance, events affecting the reporting unit, and changes in the Company’s fair value. If the reporting unit does not pass the qualitative assessment, the Company carries out a quantitative test for impairment of goodwill. This is done by comparing the fair value of the reporting unit with the carrying value of the reporting unit that includes goodwill. If the fair value of the reporting unit is greater than its carrying value, including goodwill, no impairment results. If the fair value of the reporting unit is less than its carrying value, including goodwill, an impairment loss would be recognized in the consolidated statements of operations and comprehensive income (loss) in an amount equal to that difference, limited to the total amount of goodwill allocated to that reporting unit. The Company has an unconditional option to bypass the qualitative assessment for any reporting unit in any period and proceed directly to performing the quantitative goodwill impairment test. The Company may resume performing the qualitative assessment in any subsequent period.
Business Combinations |  | The Company follows the acquisition method to account for business combinations in accordance with ASC 805, Business Combinations. The acquisition method of accounting requires that assets acquired and liabilities assumed be recorded at their estimated fair values on the date of a business acquisition. The excess of the purchase price over the estimated fair value is recorded as goodwill. Upon the conclusion of the measurement period or final determination of the values of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments would be recorded in the consolidated statements of operations and comprehensive income (loss).
Segment Information |  | The Company’s chief operating decision maker (CODM) is a function comprised of two executives, specifically the Chief Executive Officer and the Chief Financial Officer. The CODM is the highest level of management responsible for assessing Shopify’s overall performance, and making operational decisions such as resource allocations related to operations, product prioritization, and delegations of authority. Management has determined that the Company operates in a single operating and reportable segment.
Concentration of Credit Risk | The Company’s cash and cash equivalents, marketable securities, trade and other receivables, merchant cash advances, loans and related receivables, and foreign exchange derivative products subject the Company to concentrations of credit risk. Management mitigates this risk associated with cash and cash equivalents by making deposits and entering into foreign exchange derivative products only with large banks and financial institutions that are considered to be highly creditworthy. Management mitigates the risks associated with marketable securities by adhering to its investment policy, which stipulates minimum rating requirements, maximum investment exposures and maximum maturities. Due to the Company’s diversified merchant base, there is no particular concentration of credit risk related to the Company’s trade and other receivables and merchant cash advances and loans receivable. Trade and other receivables and merchant cash advances and loans receivable are monitored on an ongoing basis to ensure timely collection of amounts. The Company has mitigated some of the risks associated with Shopify Capital by entering into an agreement with a third party that insures a portion of the merchant cash advances and loans offered by Shopify Capital. The receivable related to insurance recoveries is included in the merchant cash advances, loans and related receivables balance. There are no receivables from individual merchants accounting for 10% or more of revenues or receivables. Potential ongoing effects from COVID-19 on the Company's credit risk have been considered and have resulted in adjustments to the Company's allowances for expected credit losses on contract balances and merchant cash advances and loans, as discussed in notes 7 and 8, respectively. The Company continues its assessment given the fluidity of COVID-19's global impact. |
Interest Rate Risk | Certain of the Company’s cash, cash equivalents and marketable securities and loans earn interest. The Company’s trade and other receivables, accounts payable and accrued liabilities and lease liabilities do not bear interest. The Company's Notes have a fixed annual interest rate and thus, the Company does not have economic interest rate exposure on the Notes. The Company is not exposed to material interest rate risk. |
Foreign Exchange Risk | The Company’s exposure to foreign exchange risk is primarily related to fluctuations between the CAD and the USD. The Company is exposed to foreign exchange fluctuations on the revaluation of foreign currency assets and liabilities. The Company uses foreign exchange derivative products to manage the impact of foreign exchange fluctuations. By their nature, derivative financial instruments involve risk, including the credit risk of non-performance by counter parties. While the majority of the Company's revenues and cost of revenues are denominated in USD, a significant portion of operating expenses are incurred in CAD. As a result, earnings are adversely affected by an increase in the value of the CAD relative to the USD. |
Accounting Pronouncements Adopted in the Year and Recent Accounting Pronouncement Not Yet Adopted | Accounting Pronouncements Adopted in the Year In June 2016, the Financial Accounting Standards Board issued ASU No. 2016-13, Measurement of Credit Losses on Financial Instruments (Topic 326), which replaces the incurred loss impairment methodology with a methodology that reflects expected credit losses and requires consideration of a broader range of reasonable and supportable information to inform credit loss estimates on loans, trade and other receivables, held-to-maturity debt securities, and other instruments. In May 2019, the Financial Accounting Standards Board issued ASU No. 2019-05, Financial Instruments - Credit Losses, which provides transition relief that is optional for, and available to, all reporting entities within the scope of Topic 326. The updates are effective for annual periods beginning after December 15, 2019 including interim periods within those periods. The Company adopted the standard effective January 1, 2020 using a modified retrospective approach. Upon adoption, the Company changed its approach to estimating its expected credit losses, which did not have a material impact on any of its existing allowances at that time. Recent Accounting Pronouncements Not Yet Adopted In August 2020, the Financial Accounting Standards Board issued ASU No. 2020-06, Accounting for Convertible Instruments and Contracts in an Entity's Own Equity, which eliminates certain models associated with accounting for convertible instruments, makes targeted improvements to the disclosures for convertible instruments and earnings per share guidance, and amends the guidance for the derivative scope exception for contracts in an entity's own equity. The updates are effective for annual periods beginning after December 15, 2021 including interim periods within those periods. Early adoption is permitted, but no earlier than fiscal years beginning after December 15, 2020, including interim periods within those periods. The Company will early adopt this ASU effective January 1, 2021. The Company is currently in the process of finalizing its assessment of the impact of this ASU. Upon adoption, the Company will no longer separately account for the liability and equity components of its Notes, which exist under current accounting guidance. As a result of the adoption, non-cash interest expense related to its currently outstanding Notes will be eliminated. |
Comparative Figures |  | Certain comparative figures have been reclassified in order to conform to the current period presentation.

X
- Definition Interest Rate Risk, Policy [Policy Text Block] + References No definition available. + Details
Name: | shop_ConcentrationRiskInterestRiskPolicyPolicyTextBlock
Namespace Prefix: | shop_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Foreign Exchange Risk, Policy + References No definition available. + Details
Name: | shop_ForeignExchangeRiskPolicyPolicyTextBlock
Namespace Prefix: | shop_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for advertising cost. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 720 -SubTopic 35 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848 + Details
Name: | us-gaap_AdvertisingCostsPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS). + References No definition available. + Details
Name: | us-gaap_BasisOfAccountingPolicyPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control). This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 05 -Paragraph 4 -Subparagraph (a)-(d) -URI http://asc.fasb.org/extlink&oid=6909625&loc=d3e227-128457 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 + Details
Name: | us-gaap_BusinessCombinationsPolicy
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121583591&loc=d3e4273-108586 Reference 2: 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(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 + Details
Name: | us-gaap_CashAndCashEquivalentsPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for reporting any exceptions to the comparability of prior year financial data with data shown for the most recent accounting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 10 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=35735333&loc=d3e288-107754 + Details
Name: | us-gaap_ComparabilityOfPriorYearFinancialData
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for credit risk. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 825 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=108315417&loc=d3e61044-112788 + Details
Name: | us-gaap_ConcentrationRiskCreditRisk
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting. The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684 + Details
Name: | us-gaap_ConsolidationPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy related to debt. Includes, but is not limited to, debt issuance costs, the effects of refinancings, method of amortizing debt issuance costs and original issue discount, and classifications of debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601 + Details
Name: | us-gaap_DebtPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for its derivative instruments and hedging activities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121590274&loc=d3e41620-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121590274&loc=d3e41638-113959 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5579245-113959 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121590274&loc=d3e41675-113959 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(n)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121590274&loc=SL5579240-113959 + Details
Name: | us-gaap_DerivativesPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3630-109257 + Details
Name: | us-gaap_EarningsPerSharePolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for investment in equity security without readily determinable fair value, which does not qualify for practical expedient to estimate fair value using net asset value per share. Includes, but is not limited to, information considered for determining upward and downward adjustment from observable price change. + 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 (d) -URI http://asc.fasb.org/extlink&oid=120269885&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValuePolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities. + References No definition available. + Details
Name: | us-gaap_FairValueMeasurementPolicyPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for charging off uncollectible financing receivables, including, but not limited to, factors and methodologies used in estimating the allowance for credit loss. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (a,b) -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesPolicyForUncollectibleAmounts
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for (1) transactions denominated in a currency other than the reporting enterprise's functional currency, (2) translating foreign currency financial statements that are incorporated into the financial statements of the reporting enterprise by consolidation, combination, or the equity method of accounting, and (3) remeasurement of the financial statements of a foreign reporting enterprise in a hyperinflationary economy. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -URI http://asc.fasb.org/topic&trid=2175825 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 + Details
Name: | us-gaap_ForeignCurrencyTransactionsAndTranslationsPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for goodwill. This accounting policy also may address how an entity assesses and measures impairment of goodwill, how reporting units are determined, how goodwill is allocated to such units, and how the fair values of the reporting units are determined. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 + Details
Name: | us-gaap_GoodwillAndIntangibleAssetsGoodwillPolicy
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for intangible assets. This accounting policy may address both intangible assets subject to amortization and those that are not. The following also may be disclosed: (1) a description of intangible assets (2) the estimated useful lives of those assets (3) the amortization method used (4) how the entity assesses and measures impairment of such assets (5) how future cash flows are estimated (6) how the fair values of such asset are determined. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 + Details
Name: | us-gaap_GoodwillAndIntangibleAssetsIntangibleAssetsPolicy
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 25 -URI http://asc.fasb.org/extlink&oid=120406818&loc=d3e32247-109318 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32847-109319 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 954 -SubTopic 740 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6491622&loc=d3e9504-115650 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32840-109319 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=116657188&loc=SL116659661-227067 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32639-109319 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=120406818&loc=d3e32280-109318 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 17 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84230637&loc=d3e32809-109319 + Details
Name: | us-gaap_IncomeTaxPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for leasing arrangement entered into by lessee. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918666-209980 + Details
Name: | us-gaap_LesseeLeasesPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for investment classified as marketable security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120252992&loc=d3e62652-112803 + Details
Name: | us-gaap_MarketableSecuritiesPolicy
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact. + References No definition available. + Details
Name: | us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 958 -SubTopic 360 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916 Reference 2: 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.13(a)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 958 -SubTopic 360 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 + Details
Name: | us-gaap_PropertyPlantAndEquipmentPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for its research and development and computer software activities including the accounting treatment for costs incurred for (1) research and development activities, (2) development of computer software for internal use, (3) computer software to be sold, leased or otherwise marketed as a separate product or as part of a product or process and (4) in-process research and development acquired in a purchase business combination. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 50 -Section 25 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=16397303&loc=d3e19347-109286 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 985 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6501960&loc=d3e128462-111756 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 40 -Section 30 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=118172244&loc=d3e17916-109280 Reference 5: 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.15) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ResearchDevelopmentAndComputerSoftwarePolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for revenue from contract with customer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130561-203045 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 20 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130566-203045 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 18 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130563-203045 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -URI http://asc.fasb.org/topic&trid=49130388 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 20 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130566-203045 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 18 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130563-203045 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 4 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18823-107790 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 20 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130566-203045 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130564-203045 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 20 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121604090&loc=SL49130566-203045 + Details
Name: | us-gaap_RevenueFromContractWithCustomerPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for segment reporting. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 29 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8864-108599 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 29 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8864-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e9038-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 29 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8864-108599 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 29 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8864-108599 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 29 -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8864-108599 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 29 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=120311839&loc=d3e8864-108599 + Details
Name: | us-gaap_SegmentReportingPolicyPolicyTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b),(f) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901 + Details
Name: | us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592 + Details
Name: | us-gaap_UseOfEstimates
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration