Summary of significant accounting policies | Summary of significant accounting policies Basis of presentation and preparation The consolidated financial statements, which include the accounts of Sonos, Inc. and its wholly owned subsidiaries, have been prepared in conformity with accounting principles generally accepted in the United States ("U.S. GAAP"). All intercompany accounts and transactions have been eliminated in consolidation. The Company has a 4-4-5 fiscal year ending on the Saturday nearest September 30 each year. The Company’s fiscal year is divided into four quarters of 13 weeks, each beginning on a Sunday and containing two 4-week months followed by a 5-week "month." An additional week is included in the fourth fiscal quarter approximately every five years to realign fiscal quarters with calendar quarters. This occurred last in the fourth quarter of the Company’s fiscal year ended October 3, 2015. References to fiscal 2018 are to the Company’s fiscal year ended September 29, 2018 , references to fiscal 2017 are to the Company’s fiscal year ended September 30, 2017 and references to fiscal 2016 are to the Company’s fiscal year ended October 1, 2016 . Stock split On July 19, 2018, the Company effected a two -for-one stock split of all outstanding shares of the Company’s capital stock, including its common stock and its redeemable convertible preferred stock. All share and per share information presented in the consolidated financial statements have been retroactively adjusted for all periods presented for the effects of the stock split. Use of estimates and judgments The preparation of financial statements in conformity with U.S. GAAP requires management to make estimates and judgments that affect the amounts reported and disclosed in the consolidated financial statements and accompanying notes. Actual results could differ materially from those estimates. For revenue recognition, examples of estimates and judgments include: determining the nature and timing of satisfaction of performance obligations, determining the standalone selling price ("SSP") of performance obligations, estimating variable consideration such as sales incentives, and product returns. Additionally, estimates and judgments are made by management for allowances for doubtful accounts, the market value of and demand for inventory, useful lives associated with property and equipment, valuation allowances with respect to deferred tax assets and uncertain tax positions, impairment of long-lived assets, goodwill impairment, warranty, contingencies and valuation and assumptions underlying stock-based compensation and other equity instruments. On an ongoing basis, the Company evaluates its estimates and judgments compared to historical experience and trends that form the basis for making estimates and judgments about the carrying value of assets and liabilities. Comprehensive income (loss) Comprehensive income (loss) consists of two components: net income (loss) and other comprehensive income (loss), net of tax. Other comprehensive income (loss), net of tax refers to net gains and losses that are recorded as an element of stockholders’ equity (deficit), but are excluded from net income (loss). The Company’s other comprehensive income (loss), net of tax consists of net unrealized gains and losses on foreign currency translation adjustments from those subsidiaries not using the U.S. dollar as their functional currency. Cash and cash equivalents Cash equivalents consist of short-term, highly liquid financial instruments with insignificant interest rate risk that are readily convertible to cash and have maturities of three months or less from the date of purchase. As of September 29, 2018 and September 30, 2017 , cash equivalents consisted of money market funds, which are recorded at fair value. Restricted cash The Company held $ 0.2 million in restricted cash as of September 29, 2018 and September 30, 2017 , representing security deposits on real estate leases. Accounts receivable Accounts receivable are recorded at the invoiced amount less allowances for doubtful accounts and sales incentives, do not require collateral and do not bear interest. The allowance for doubtful accounts is established through a provision for net bad debt expense which is recorded in general and administrative expense in the consolidated statements of operations and comprehensive loss. The Company determines the adequacy of the allowance for doubtful accounts by evaluating customer accounts receivable balances as well as the customer’s financial condition, credit history and current economic conditions. This estimate is periodically adjusted as a result of the aforementioned process, or when the Company becomes aware of a specific customer’s inability to meet its financial obligations. Accounts receivable allowances The following table summarizes changes in the allowance for doubtful accounts for fiscal 2018, 2017 and 2016: 2018 2017 2016 (In thousands) Beginning balance $ 804 $ 726 $ 679 Increases 635 449 962 Write-offs (567 ) (371 ) (915 ) Ending balance $ 872 $ 804 $ 726 The following table summarizes the changes in the allowance for sales incentives for fiscal 2018, 2017 and 2016: 2018 2017 2016 (In thousands) Beginning balance $ 11,195 $ 8,913 $ 6,235 Charged to revenue 90,246 65,879 34,627 Utilization of sales incentive allowance (89,687 ) (63,597 ) (31,949 ) Ending balance $ 11,754 $ 11,195 $ 8,913 Concentration of credit risk Financial instruments that potentially subject the Company to significant concentrations of credit risk consist principally of cash and cash equivalents and accounts receivable. The Company maintains cash and cash equivalents in several high-quality financial institutions. Cash and cash equivalents held at these banks, including those held in foreign branches of global banks, may exceed the amount of insurance provided on such deposits. These deposits may be redeemed upon demand and management believes that the financial institutions that hold the Company’s cash and cash equivalents are financially sound and, accordingly, minimal credit risk exists with respect to cash. The Company has not experienced any losses in such accounts. As of September 29, 2018 and September 30, 2017 , the Company’s customers that accounted for 10% or more of total accounts receivable, net, were as follows: Accounts receivable, net 2018 2017 Customer A 31 % 26 % Customer B 13 % 16 % Customer C 11 % * * Accounts receivable was less than 10%. The Company’s customers that accounted for 10% or more of total revenue were as follows: Revenue Year Ended 2018 2017 2016 Customer A 17 % 16 % 17 % Customer C 10 % 12 % 11 % Inventories Inventories primarily consist of finished goods and to a lesser extent component parts, which are purchased from contract manufacturers and component suppliers. Inventories are stated at lower of cost and net realizable value on a first-in, first-out basis. The Company assesses the valuation of inventory balances including an assessment to determine potential excess and/or obsolete inventory. The Company may be required to write down the value of inventory if estimates of future demand and market conditions indicate estimated excess and/ or obsolete inventory. For the periods presented, the Company has not experienced significant write-downs. Property and equipment, net Property and equipment are stated at historical cost less accumulated depreciation. Depreciation is calculated using the straight-line method over the estimated useful lives of the related assets as follows: Computer hardware and software 2-3 years Furniture and fixtures 3-5 years Tooling and production line test equipment 2-4 years Leasehold improvements 2-10 years Product displays 1-3 years Costs incurred to improve leased office space are capitalized. Leasehold improvements are amortized on a straight-line basis over the shorter of the term of the lease or the estimated useful life of the improvement. Expenditures for major renewals and improvements that extend the useful lives of property and equipment are capitalized. Maintenance, repair costs and gains or losses associated with disposals are charged to expense as incurred. Product displays are deployed at retail locations. Because the product displays facilitate marketing of the Company’s products within the retail stores, depreciation for product displays is recorded in sales and marketing expenses in the consolidated statements of operations and comprehensive loss. Impairment of long-lived assets The Company evaluates the recoverability of its long-lived assets, primarily comprised of property and equipment, for impairment whenever events or changes in circumstances indicate that the carrying amounts may not be recoverable. The Company performs impairment testing at the level that represents the lowest level for which identifiable cash flows are largely independent of the cash flows of other assets and liabilities. Recoverability is measured by comparing the carrying amounts to the expected future undiscounted cash flows attributable to the assets. If it is determined that an asset may not be recoverable, an impairment loss equal to the excess of the asset’s carrying value over its fair value is recorded. Fair value is determined based upon estimated discounted future cash flows. There were no impairment charges identified on the Company’s long-lived assets for each period presented. Product warranties The Company’s products are covered by warranty to be free from defects in material and workmanship for a period of one year , except for products sold in the European Union where the Company provides a two -year warranty. At the time of sale, an estimate of future warranty costs is recorded as a component of cost of revenue and a warranty liability is recorded for estimated costs to satisfy the warranty obligation. The Company’s estimate of costs to fulfill its warranty obligations is based on historical experience and expectations of future costs to repair or replace. Legal contingencies If a potential loss from any claim or legal proceeding is considered probable, and the amount can be reasonably estimated, the Company accrues a liability for an estimated loss. Legal fees are expensed as incurred and included in general and administrative expenses in the consolidated statements of operations and comprehensive loss. See Note 11 for additional information regarding legal contingencies. Treasury stock The Company accounts for treasury stock acquisitions using the cost method. The Company accounts for the retirement of treasury stock by deducting its par value from common stock and reflecting any excess of cost over par value as a deduction from additional paid-in capital on the consolidated balance sheets. Fair value accounting Assets and liabilities recorded at fair value on the consolidated balance sheets are categorized based upon the level of judgment associated with the inputs used to measure their fair value. Fair value is estimated by applying the following hierarchy, which prioritizes the inputs used to measure fair value into three levels and bases the categorization within the hierarchy upon the lowest level of input that is available and significant to the fair value measurement: Level Input Input Definition Level 1 Quoted prices for identical assets or liabilities in active markets at the measurement date. Level 2 Inputs, other than quoted prices included in Level 1, such as quoted prices for similar assets or liabilities, in active markets or other inputs that are observable or can be corroborated with market data at the measurement date. Level 3 Unobservable inputs that reflect management's best estimate of what market participants would use in pricing the asset or liability at the measurement date. Foreign currency Certain of the Company’s wholly owned subsidiaries have non-U.S. dollar functional currencies. The Company translates assets and liabilities of non-U.S. dollar functional currency subsidiaries into U.S. dollars using exchange rates in effect at the end of each period and stockholders’ equity (deficit) at historical rates. Revenue and expenses for these subsidiaries are translated using rates that approximate those in effect during the period. Gains and losses from translation are recognized in foreign currency translation included in accumulated other comprehensive income (loss). The Company remeasures monetary assets or liabilities denominated in currencies other than the functional currency using exchange rates prevailing on the balance sheet date, and non-monetary assets and liabilities at historical rates. Foreign currency remeasurement and transaction gains and losses are included in other income (expense), net. Foreign currency remeasurement and transaction gains (losses) are recorded in other income (expense), net and were $(1.2) million , $3.2 million and $(2.2) million for fiscal 2018, 2017 and 2016, respectively. Revenue recognition Revenue is recognized upon transfer of control of promised products or services to customers in an amount that reflects the consideration the Company expects to receive in exchange for those products or services. The Company generally enters into contracts that include a combination of products and services. Revenue is allocated to distinct performance obligations and is recognized net of allowances for returns, discounts, sales incentives and any taxes collected from customers, which are subsequently remitted to governmental authorities. Shipping and handling costs associated with outbound freight after control over a product has transferred to a customer are accounted for as a fulfillment cost and are included in cost of revenue. As of September 29, 2018 and September 30, 2017 , the Company did not have any material assets related to incremental costs to obtain or fulfill customer contracts. Nature of products and services Product revenue includes sales of wireless speakers, home theater speakers and audio components, which include software that enables the Company’s products to operate over a customer’s wireless network, as well as connect to various third-party services, including music and voice. Software primarily consists of firmware embedded in the products and the Sonos app, which is software that can be downloaded to consumer devices at no charge, with or without the purchase of one of the Company’s products. Products and related software are accounted for as a single performance obligation and all intended functionality is available to the customer upon purchase. The revenue allocated to the products and related software is the substantial portion of the total sale price. Product revenue is recognized at the point in time when control is transferred, which is either upon shipment or upon delivery to the customer, depending on delivery terms. Service revenue includes revenue allocated to (i) unspecified software upgrades and (ii) cloud-based services that enable products to access third-party music and voice assistant platforms, which are each distinct performance obligations and are provided to customers at no additional charge. Unspecified software upgrades are provided on a when-and-if-available basis and have historically included updates and enhancements such as bug fixes, feature enhancements and updates to the ability to connect to third-party music or voice assistant platforms. Service revenue is recognized ratably over the estimated service period. Significant judgments The Company’s contracts with customers generally contain promises to transfer products and services as described above. Determining whether products and services are considered distinct performance obligations that should be accounted for separately requires significant judgment. Judgment is required to determine the SSP for each distinct performance obligation. The Company estimates SSP for items that are not sold separately, which include the products and related software, unspecified software upgrades and cloud-based services, using information that may include competitive pricing information, where available, as well as analyses of the cost of providing the products or services plus a reasonable margin. In developing SSP estimates, the Company also considers the nature of the products and services and the expected level of future services. Determining the revenue recognition period for unspecified software upgrades and cloud-based services also requires judgment. The Company recognizes revenue attributable to these performance obligations ratably over the best estimate of the period that the customer is expected to receive the services. In developing the estimated period of providing future services, the Company considers past history, plans to continue to provide services, including plans to continue to support updates and enhancements to prior versions of the Company’s products, expected technological developments, obsolescence, competition and other factors. The estimated service period may change in the future in response to competition, technology developments and the Company’s business strategy. The Company offers sales incentives through various programs consisting primarily of discounts, cooperative advertising and market development fund programs. The Company records cooperative advertising and market development fund programs with customers as a reduction to revenue unless it receives a distinct benefit in exchange for credits claimed by the customer and can reasonably estimate the fair value of the benefit received, in which case the Company records it as an expense. The Company recognizes a liability or a reduction to accounts receivable, and reduces revenue based on the estimated amount of sales incentives that will be claimed by customers. Estimates for sales incentives are developed using the most likely amount and are included in the transaction price to the extent that a significant reversal of revenue would not result once the uncertainty is resolved. In developing its estimate, the Company also considers the susceptibility of the incentive to outside influences, the length of time until the uncertainty is resolved and the Company’s experience with similar contracts. Reductions in revenue related to discounts are allocated to products and services on a relative basis based on their respective SSP. Judgment is required to determine the timing and amount of recognition of marketing funds which the Company estimates based on past practice of providing similar funds. The Company accepts returns from direct customers and from certain resellers. To establish an estimate for returns, the Company uses the expected value method by considering a portfolio of contracts with similar characteristics to calculate the historical returns rate. When determining the expected value of returns, the Company considers future business initiatives and relevant anticipated future events. Supplier concentration The Company relies on third parties for the supply and manufacture of its products, as well as third-party logistics providers. In instances where these parties fail to perform their obligations, the Company may be unable to find alternative suppliers or satisfactorily deliver its products to customers on time, if at all. During fiscal 2018 , 2017 and 2016, approximately 98% , 99% and 99% , respectively, of the Company’s finished goods purchased during each year were from one vendor. Deferred revenue and payment terms The Company invoices each order upon hardware shipment or delivery and recognizes revenue for each distinct performance obligation when transfer of control has occurred, which in the case of services, may extend over several reporting periods. Amounts invoiced in advance of revenue recognition are recorded as deferred revenue on the consolidated balance sheets. Deferred revenue primarily relates to revenue allocated to unspecified software upgrades and platform services. The Company classifies deferred revenue as noncurrent if amounts are expected to be recognized as revenue after more than one year from the balance sheet date. The following table summarizes the changes in the deferred revenue balances: 2018 2017 2016 (In thousands) Deferred revenue, beginning of period $ 45,567 $ 36,160 $ 27,373 Recognition of revenue included in beginning of period deferred revenue (10,627 ) (6,878 ) (4,553 ) Revenue deferred, net of revenue recognized on contracts in the respective period 16,027 16,285 13,340 Deferred revenue, end of period $ 50,967 $ 45,567 $ 36,160 The Company expected the following recognition of deferred revenue as of September 29, 2018 : For the fiscal years ending (In thousands) 2019 2020 2021 2022 2023 and Beyond Total Revenue expected to be recognized $ 11,615 $ 10,905 $ 9,602 $ 7,756 $ 11,089 $ 50,967 See Note 4 for further information with respect to revenue, including revenue by product category and geography. Payment terms Payment terms and conditions vary among the Company’s distribution channels although terms generally include a requirement of payment within 30 days of product shipment. Sales directly to customers from the Company’s website are paid in advance of product shipment. Prior to providing payment terms to customers, an evaluation of the customer’s credit risk is performed. Contractual allowances are an offset to accounts receivable, net. Research and development Research and development expenses consist primarily of personnel-related expenses, consulting and outside professional service costs, tooling and prototype materials and overhead costs. Substantially all of the Company’s research and development expenses are related to developing new products and services and improving existing products and services. To date, software development costs have been expensed as incurred because the period between achieving technological feasibility and the release of the software has been short and development costs qualifying for capitalization have been insignificant. Advertising costs Advertising costs are expensed as incurred and included in sales and marketing expenses. Advertising expenses were $50.2 million , $72.2 million and $50.6 million for fiscal 2018, 2017 and 2016, respectively. Stock-based compensation The Company measures stock-based compensation cost at fair value on the date of grant. The Company estimates the fair value of stock option awards using the Black-Scholes option-pricing model. The fair value of restricted stock units ("RSUs") is the fair value of the Company’s common stock on the grant date. Compensation costs for RSUs and for stock options with graded vesting are recognized, on a straight-line basis, as expense over the period of vesting as the employee performs the related services, net of estimated forfeitures. The Company estimates forfeitures based on expected future terminations and will revise rates, as necessary, in subsequent periods if actual forfeitures differ from initial estimates. 401(k) Plan The Company has a defined contribution 401(k) plan (the "401(k) Plan") for the Company’s U.S-based employees. The 401(k) Plan is for all full-time employees who meet certain eligibility requirements. Eligible employees may contribute up to 100% of their annual compensation, but are limited to the maximum annual dollar amount allowable under the Internal Revenue Code of 1986, as amended (the "Code"). Although the 401(k) Plan provides for discretionary employer matching contribution, the Company has not made any such contributions on behalf of participating employees as of September 29, 2018. Income taxes The Company accounts for income taxes under the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been included in the financial statements. Under this method, deferred tax assets and liabilities are determined based on the differences between the financial statements and tax basis of assets and liabilities using enacted tax rates in effect for the year in which the differences are expected to reverse. The effect of a change in tax rates on deferred tax assets and liabilities is recognized in income in the period that includes the enactment date. The Company records a valuation allowance to the extent that its deferred tax assets are not more likely than not to be realized. In making such a determination, all available positive and negative evidence is considered, including future reversals of existing taxable temporary differences, projected future taxable income, tax-planning strategies and results of recent operations. If the Company determines that it would be able to realize its deferred tax assets in the future in excess of their net recorded amount, the Company would make an adjustment to the deferred tax asset valuation allowance, which would reduce the provision for income taxes. The Company records uncertain tax positions in accordance with a two-step process whereby (i) the Company determines whether it is more likely than not that the tax positions will be sustained on the basis of the technical merits of the position and (ii) for those tax positions that meet the more likely than not recognition threshold, the Company recognizes the largest amount of tax benefit that is more than 50% likely to be realized upon ultimate settlement with the related tax authority. The Company includes interest and penalties related to unrecognized tax benefits within the provision for income taxes in the consolidated statements of operations and comprehensive loss. The Company has not incurred any interest or penalties related to unrecognized tax benefits in any of the periods presented. The Company’s provision for (benefit from) income taxes, deferred tax assets and liabilities and liabilities for unrecognized tax benefits involves the use of estimates, assumptions and judgments. Although the Company believes its estimates, assumptions and judgments to be reasonable, any changes in tax law or its interpretation of tax laws and the resolutions of potential tax audits could significantly impact the amounts provided for income taxes in the Company’s consolidated financial statements. Actual future operating results and the underlying amount and type of income could differ materially from the Company’s estimates, assumptions and judgments thereby impacting the Company’s financial position and results of operations. Segment information The Company operates as one operating segment as it only reports aggregate financial information on a consolidated basis, accompanied by disaggregated information about revenue by geographic region and product category to its Chief Executive Officer, who is the Company’s chief operating decision maker. Leases The substantial majority of the Company’s leases are for its office spaces and facilities, which are accounted for as operating leases. For leases that contain rent escalation or rent concession provisions, the Company recognizes rent on a straight-line basis over the term of the lease. The Company does not assume renewals in its determination of the lease term unless the renewals are deemed to be reasonably assured at inception. Tenant improvement allowances received from landlords are recorded as a credit to deferred rent, reported as a liability on the consolidated balance sheets and amortized on a straight-line basis over the lease term as a reduction to rent expense in the consolidated statements of operations and comprehensive loss. Recently adopted accounting pronouncements Revenue from contracts with customers In May 2014, the Financial Accounting Standards Board (the "FASB") issued a new standard related to revenue recognition, Accounting Standards Codification ("ASC") No. 606, Revenue from Contracts with Customers ("ASC 606"). Under ASC 606, revenue is recognized when a customer obtains control of promised goods or services in an amount that reflects the consideration the entity expects to receive in exchange for those goods or services. In addition, the standard requires disclosure of the nature, amount, timing and uncertainty of revenue and cash flows arising from contracts with customers. ASC 606 is required to be adopted for annual reporting periods beginning after December 15, 2017, including interim periods therein, and may be earlier adopted, though no earlier than for annual reporting periods beginning after December 15, 2016. The Company elected to early adopt ASC 606 effective October 1, 2017, using the full retrospective transition method, which required the Company to adjust each prior reporting period presented. The most significant impact of the adoption of this standard related to the Company’s accounting for arrangements with certain distributors and retail partners with implicit or explicit return rights that were recognized based on a sell-through method under ASC 605, Revenue Recognition. Under ASC 606, revenue with these parties is recognized upon transfer of control to the customer which occurs when the product is either shipped to or delivered to the customer depending on the contractual terms of the arrangement. This change resulted in an acceleration of revenue and related costs of revenue and most significantly, a reduction in deferred costs of revenue and deferred revenue at each balance sheet date. This acceleration of revenue can have a net increase or decrease in the adjusted revenue for the respective fiscal year depending on the year over year impact of the amounts accelerated across reporting periods. The impact of the adjusted balances on previously reported results presented below were also affected by changes in both product mix as well as by the timing of transactions within fiscal years. Impact to previously reported results The adoption of ASC 606 impacted the Company’s previously reported amounts on the consolidated balance sheets as of October 1, 2016 as follows: 2016 (In thousands) As previously reported Impact of adoption As adjusted Accounts receivable, net $ 48,569 $ (3,262 ) $ 45,307 Inventories, net 53,553 9 53,562 Deferred costs of revenue 27,478 (27,478 ) — Other current assets 8,850 587 9,437 Deferred tax assets 6,207 (3,663 ) 2,544 Deferred revenue 96,696 (60,536 ) 36,160 Other current liabilities 4,599 1,936 6,535 Stockholders’ equity (deficit) (53,581 ) 24,793 (28,788 ) The adoption of ASC 606 impacted the Company’s previously reported amounts on the consolidated statements of operations and comprehensive loss for the years ended October 3, 2015 and October 1, 2016 as follows: 2016 2015 (In thousands) As previously Impact of As adjusted As previously Impact of As adjusted Net revenue $ 904,049 $ (2,765 ) $ 901,284 $ 860,652 $ (17,128 ) $ 843,524 Cost of revenue 494,673 3,212 497,885 468,229 (6,842 ) 461,387 Provision for income taxes 2,930 (286 ) 2,644 2,734 508 3,242 Net loss (32,523 ) (5,691 ) (38,214 ) (57,983 ) (10,794 ) (68,777 ) The Company has not previously reported its financial statements for fiscal 2017 under ASC 605. The adoption of ASC 606 had no impact to cash flows provided by or used in operating, financing or investing activities on the Company’s consolidated statements of cash flows. The cumulative impact of adoption resulted in a reduction to the Company’s accumulated deficit by $43.4 million from the previously reported accumulated deficit of $110.2 million , as of September 28, 2014, the beginning of the Company’s fiscal 2015. Recent accounting pronouncements pending adoption In February 2016, the FASB issued Accounting Standards Update ("ASU") No. 2016-02, Leases (Topic 842) ("ASU 2016-02"), which amends a number of aspects of lease accounting, including requiring lessees to recognize operating leases with a term greater than one year on their balance sheet as a right-of-use asset and corresponding liability, measured at the present value of the lease payments. ASU 2016-02 is effective for fiscal years beginning after December 15, 2018, and interim periods within those years, with early adoption permitted. In January 2018, the FASB issued ASU No. 2018-01, Land Easement Practical Expedient for Transition to Topic 842 (“ASU 2018-01”), which establishes an optional transition practical expedient when applying the guidance in ASU 2016-02. In July 2018, the FASB issued ASU No. 2018-10, Codification Improvements to Topic 842, Leases (“ASU 2018-10”), and ASU No. 2018-11, Targeted Improvements (“ASU 2018-11”). ASU 2018-10 affects narrow aspects of the guidance issued in ASU 2016-02. ASU 2018-11 provides an additional transition method. The Company is currently evaluating the impact of adopting ASU 2016-02, ASU 2018-01, ASU 2018-10 and ASU 2018-11 on its consolidate |