Organization and Summary of Significant Accounting Policies | 1. Organization and Summary of Significant Accounting Policies Organization Ambarella, Inc. (the “Company”) was incorporated in the Cayman Islands on January 15, 2004. The Company is a leading developer of low-power semiconductor solutions offering high-definition (HD) and Ultra HD compression, image processing, and deep neural network processing. The Company combines its processor design capabilities with its expertise in video and image processing, algorithms and software to provide a technology platform that is designed to be easily scalable across multiple applications and enable rapid and efficient product development. The Company’s system-on-a-chip, or SoC, designs fully integrate high-definition video processing, image processing, artificial intelligence (AI) computer vision algorithms, audio processing and system functions onto a single chip, delivering exceptional video and image quality, differentiated functionality and low power consumption. The Company is currently addressing a broad range of human and computer vision applications, including professional and consumer security cameras, automotive cameras such as advanced driver assistance systems (ADAS), electronic mirrors, drive recorders, driver/cabin monitoring systems, autonomous driving, and industrial and robotic applications. The Company sells its solutions to leading original design manufacturers, or ODMs, and original equipment manufacturers, or OEMs, globally. Basis of Consolidation The Company’s fiscal year ends on January 31. The consolidated financial statements of the Company and its subsidiaries have been prepared in conformity with accounting principles generally accepted in the United States (“U.S. GAAP”). All intercompany transactions and balances have been eliminated in consolidation. Use of Estimates The preparation of consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities, the disclosure of contingent assets and liabilities at the date of the financial statements and the reported amounts of revenue and expense during the reported periods. Actual results could differ from those estimates. On an ongoing basis, management evaluates its estimates and assumptions, including those related to (i) the collectability of accounts receivable; (ii) write down of excess and obsolete inventories; (iii) intangible assets and goodwill; (iv) the estimated useful lives of long-lived assets; (v) impairment of long-lived assets and financial instruments; (vi) warranty obligations; (vii) the valuation of stock-based compensation awards and financial instruments; (viii) the probability of performance objectives achievement; (ix) the realization of tax assets and estimates of tax liabilities, including reserves for uncertain tax positions; and (x) the recognition and disclosure of contingent liabilities. These estimates and assumptions are based on historical experience and on various other factors which the Company believes to be reasonable under the circumstances. The Company may engage third-party valuation specialists to assist with estimates related to the valuation of financial instruments, assets and stock awards associated with various contractual arrangements. Such estimates often require the selection of appropriate valuation methodologies and significant judgment. Actual results could differ from these estimates under different assumptions or circumstances and such differences could be material. Concentration of Risk The Company’s products are manufactured, assembled and tested by third-party contractors located primarily in Asia. The Company does not have long-term agreements with these contractors. A significant disruption in the operations of one or more of these contractors would impact the production of the Company’s products which could have a material adverse effect on its business, financial condition and results of operations. A substantial portion of the Company’s revenue is derived from sales through one of its distributors, Wintech Microelectronics Co., Ltd., or Wintech, which serves as its non-exclusive sales representative in Asia other than Japan, and directly to one ODM customer, Chicony Electronics Co., Ltd., or Chicony. Termination of the relationships with these customers could result in a temporary or permanent loss of revenue. Furthermore, any credit issues from these customers could impair their abilities to make timely payment to the Company. See Note 15 for additional information regarding revenue and credit concentration with these customers. Financial instruments that potentially subject the Company to concentrations of credit risk consist primarily of cash, cash equivalents, marketable debt securities and accounts receivable. The Company maintains its cash primarily in checking accounts with reputable financial institutions. Cash deposits held with these financial institutions may exceed the amount of insurance provided on such deposits. The Company has not experienced any losses on deposits of its cash. In order to limit the exposure of each investment, the cash equivalents and marketable debt securities consist primarily of money market funds, certificates of deposit, asset-backed securities, commercial paper, U.S. government securities and debt securities of corporations which management assesses to be highly liquid. The Company does not hold or issue financial instruments for trading purposes. The Company performs ongoing credit evaluation of its customers and adjusts credit limits based upon payment history and customers’ credit worthiness. The Company regularly monitors collections and payments from its customers. Foreign Currency Transactions The U.S. dollar is the functional currency for the Company and its subsidiaries. Monetary assets and liabilities denominated in non-U.S. currencies are re-measured to U.S. dollars using current exchange rates in effect at the balance sheet date. Nonmonetary assets and liabilities are re-measured to U.S. dollars using historical exchange rates. Monetary and other accounts are re-measured to U.S. dollars using average exchange rates in effect during each period. Gains or losses from foreign currency re-measurement are included in other income, net in the consolidated statements of operations, and, to date, have not been material. Fair Value of Financial Instruments Fair value accounting is applied to all financial assets and liabilities and non-financial assets and liabilities that are recognized or disclosed in the financial statements on a recurring basis. The carrying amounts reflected in the consolidated balance sheets for cash equivalents, accounts receivable, accounts payable, accrued liabilities and other current liabilities, approximate fair value due to the short-term nature. Cash Equivalents and Marketable Debt Securities The Company considers all highly liquid debt security investments with original maturities of less than three months at the time of purchase to be cash equivalents. Debt security investments that are highly liquid with original maturities at the time of purchase greater than three months are considered marketable debt securities. The Company classifies these investments as “available-for-sale” securities carried at fair value, based on quoted market prices of similar assets, with the unrealized gains or losses reported, net of tax, as a separate component of shareholders’ equity and included in accumulated other comprehensive income (loss) in the consolidated balance sheets. The amortization of premiums and accretion of discounts and the realized gains and losses are both recorded in other income, net, in the consolidated statements of operations. The Company reviews its investments for possible other-than-temporary impairments on a regular basis. If any loss on investment is believed to be other-than-temporary, a charge will be recorded and a new cost basis in the investment will be established. In evaluating whether a loss on a security is other-than-temporary, the Company considers the following factors: (i) general market conditions, (ii) the duration and extent to which the fair value is less than cost and (iii) the Company’s intent and ability to hold the investment. For securities in an unrealized loss position which is deemed to be other-than-temporary, the difference between the security’s then-current amortized cost basis and fair value is separated into (i) the amount of the impairment related to the credit loss (i.e., the credit loss component) and (ii) the amount of the impairment related to all other factors (i.e., the non-credit loss component). The credit loss component is recognized in earnings. The non-credit loss component is recognized in accumulated other comprehensive loss. Due to the relative short term nature of the investments, there have been no other-than-temporary impairments recorded to date. Restricted Cash Amounts included in restricted cash represent those required to be set aside to secure certain transactions in a foreign entity. As of January 31, 2020 and 2019, the restricted cash was immaterial, respectively. The following table presents cash, cash equivalents and restricted cash reported on the consolidated balance sheets, and the sums are presented on the consolidated statements of cash flows: As of January 31, 2020 2019 2018 (in thousands) Cash and cash equivalents $ 231,403 $ 194,047 $ 346,672 Restricted cash 9 11 9 Total as presented in the consolidated statements of cash flows $ 231,412 $ 194,058 $ 346,681 Trade Accounts Receivable and Allowances for Doubtful Accounts Trade accounts receivable are recorded at the invoiced amount and do not include finance charges. The Company performs ongoing credit evaluation of its customers and generally requires no collateral. The Company assesses the need for allowances for doubtful accounts for estimated losses resulting from the inability of its customers to make required payments by considering factors such as historical collection experience, credit quality, aging of the accounts receivable balances and current economic conditions that may affect a customer’s ability to pay. There were no material write-offs of accounts receivable for the fiscal years ended January 31, 2020, 2019 and 2018, respectively. There was no material allowance for doubtful accounts recorded as of January 31, 2020 and 2019, respectively. Inventories The Company records inventories at the lower of cost or net realizable value. The cost includes materials and other production costs and is computed using standard cost on a first-in, first-out basis. Inventory reserves are recorded for estimated obsolescence or unmarketable inventories based on forecast of future demand and market conditions. Any adjustments to reduce the cost of inventories to their net realizable value are recognized in earnings in the current period. Property and Equipment Property and equipment are stated at cost and depreciated using the straight-line method over the estimated useful life for computer equipment, computer software, machinery, equipment and furniture and fixtures. Leasehold improvements are amortized over the shorter of the lease term or their estimated useful lives. Repairs and maintenance are charged to expense as incurred. Noncancelable Internal-Use Software License The Company accounts for a noncancelable on premise internal-use software license as the acquisition of an intangible asset and the incurrence of a liability to the extent that all or a portion of the software licensing fees are not paid on or before the license acquisition date. The intangible asset and related liability are recorded at net present value and interest expense is recorded over the payment term. Leases Effective February 1, 2019, the Company adopted Accounting Standards Codification (“ASC”) Topic 842, Leases, using the alternative transition method with an adjustment to the opening balance in the period of adoption without adjustment of comparative period financial statements. Under this new guidance, the Company recognizes leases as operating lease right-of-use (“ROU”) assets and corresponding lease liabilities at the lease commencement date based on the present value of future lease payments, while recognizing lease expenses under straight-line method through the lease term. The Company also elected the other available practical expedients, and has elected not to recognize ROU assets and lease liabilities that arise from short-term (12 months or less) leases and not to reassess the following for existing leases as of February 1, 2019: (i) whether contracts are or contain leases, (ii) lease classification, and (iii) initial direct costs. The Company does not combine lease components with non-lease components, and as a result, the non-lease components are accounted for separately. In determining the present value of lease payments, the Company uses the implicit interest rate if readily determinable. When the implicit rate is not readily determinable, the Company uses its incremental borrowing rate based on the information available at the lease commencement date. The Company's leases mainly include its worldwide office facilities which are classified as operating leases. Certain leases include renewal options that are under the Company's discretion. The renewal options are included in the ROU assets and liability calculation if it is reasonably certain that the Company will exercise the option. As of February 1, 2019, the Company recognized approximately $8.6 million of operating lease ROU assets, net of previously recognized prepaid rent and accrued liabilities, and corresponding lease liabilities of $8.7 million. The Company's short-term leases and finance leases are immaterial as of January 31, 2020 and February 1, 2019, respectively. Goodwill and In-Process Research and Development The Company does not amortize goodwill. Acquired in-process research and development, or IPR&D, is capitalized at fair value as an intangible asset and amortization commences upon completion of the underlying projects. . Impairment of Long-Lived Assets Including Goodwill and Other Acquired Intangible Assets The Company reviews property and equipment and intangible assets, excluding goodwill, for impairment at least annually in the fourth fiscal quarter or whenever events or changes in circumstances indicate that the carrying amount of an asset, or asset group, may not be recoverable. Determination of recoverability of assets to be held and used is measured by a comparison of the carrying amount of an asset, or asset group to estimated undiscounted future cash flows expected to be generated by the asset, or asset group. If the carrying amount of an asset or asset group exceeds its estimated undiscounted future cash flows, an impairment charge is recognized for the amount by which the carrying amount of the asset or asset group exceeds the estimated fair value of the asset or asset group. Fair value is determined based on the estimated discounted future cash flows expected to be generated by the asset or asset group. Events or changes in circumstances that may indicate that an asset is impaired include significant decreases in the market value of an asset, significant underperformance relative to expected historical or projected future results of operations, a change in the extent or manner in which an asset is utilized, significant declines in the estimated fair value of the overall Company for a sustained period, shifts in technology, loss of key management or personnel, changes in the Company’s operating model or strategy and competitive forces. There has been no occurrence of events to date that would trigger an impairment analysis. As such, no impairment charge has been recognized as of January 31, 2020. The Company tests the goodwill for impairment at least annually in the fourth fiscal quarter, or sooner whenever events or changes in circumstances indicate that the asset may be impaired. The Company has a single reporting unit for goodwill impairment test purposes based on its business and reporting structure. The Company is permitted to first assess qualitative factors to determine whether the two step goodwill impairment test is necessary. Further testing is only required if the Company determines, based on the qualitative assessment, that it is more likely than not that a reporting unit’s fair value is less than its carrying amount. Otherwise, no further impairment testing is required. Qualitative factors include industry and market considerations, overall financial performance, and other relevant events and factors affecting the reporting unit . Equity Investment The Company accounts for its investment in a privately held company as an equity investment and reports the investment in other non-current assets in the consolidated balance sheets. The Company chooses to measure this equity investment that does not have readily determinable fair value at cost minus any recorded impairments, adjusted for observable price changes in transactions for an identical or similar investment of the same issuer. Upon determining that an impairment or observable price change exists, the Company records any adjustment to the fair value of the investment through net income. To date, there have been no identified events or changes in circumstances that may have a significant effect on the fair value of this investment and the Company has not recognized any impairment losses related to this investment nor have there been any observable price changes. Revenue Recognition Effective February 1, 2018, the Company adopted ASC 606, Revenue from Contracts with Customers. As a result, the Company recognizes revenue when control of its goods and services is transferred to its customers. Revenue recognition is evaluated through the following five steps: (i) identification of the contract, or contracts, with a customer; (ii) identification of the performance obligations in the contract; (iii) determination of the transaction price; (iv) allocation of the transaction price to the performance obligations in the contract; and (v) recognition of revenue when or as a performance obligation is satisfied. The sale of semiconductor products accounts for the substantial majority of the Company’s consolidated revenue. Sales agreements with customers are renewable periodically and contain terms and conditions with respect to payment, delivery, warranty, supply and other rights. The Company considers an accepted customer purchase order, governed by sales agreement, to be the contract with the customer. For each contract, the Company considers the promise to transfer tangible products to be the identified performance obligation. Product sales contracts may include volume-based tiered pricing or rebates that are fulfilled in cash or product. In determining the transaction price, the Company accounts for the right of returns, cash rebates, commissions and other pricing adjustments as variable consideration and estimates these amounts based on the expected amount to be provided to customers and reduces the revenue recognized. The Company estimates sales returns and rebates based on the Company’s historical patterns of return and pricing credits. As the Company’s standard payment terms are 30 days to 60 days, the contracts have no financing component. Under ASC 606, the Company estimates the total consideration to be received by using the expected value method for each contract, computes weighted average selling price for each unit shipped in cases where there is a material right due to the presence of volume-based tiered pricing, allocates the total consideration between the identified performance obligations, and recognizes revenue when control of its goods and services is transferred to its customers. The Company considers product control to be transferred at a point in time upon shipment or delivery because the Company has a present right to payment at that time, the customer has legal title to the asset, the Company has transferred physical possession of the asset, and the customer has significant risk and rewards of ownership of the asset. The Company also enters into fixed-price engineering service agreements with certain customers. These agreements may include multiple performance obligations, such as software development services, licensing of intellectual property and post-contract customer support, or PCS. These multiple performance obligations are highly interdependent, highly interrelated, are typically not sold separately and do not have standalone selling prices. They are all inputs to generate one combined output which is incorporating the Company’s SoC into the customer’s product. Accordingly, the Company determines that they are not separately identifiable and shall be treated as a single performance obligation. Customers usually pay based on milestones achieved. Because payments received do not correspond directly with the value of the Company’s performance to date, for fixed-price engineering services arrangements, revenue is recognized using the time-based straight line method, which best depicts the Company’s performance toward complete satisfaction of the performance obligation based on the nature of such professional services. Revenues from engineering service agreements were not material for the fiscal years ended January 31, 2020, 2019 and 2018, respectively. Timing of revenue recognition may differ from the timing of invoicing to the Company’s customers. The Company records contract assets when revenue is recognized prior to invoicing. The Company’s contract assets are primarily related to satisfied but unbilled performance obligations associated with its engineering service agreements at the reporting date. As of January 31, 2020 and 2019, the contract assets for these unbilled receivables were not material. The Company’s contract liabilities consist of deferred revenue. The deferred revenue is primarily related to the portion of a transaction price that exceeds the weighted average selling price for products sold to date under tiered-pricing contracts which contain material rights. This deferred revenue is expected to be recognized over the course of the contract when products are delivered for future pricing below the weighted average selling price of the contract. For the twelve months ended January 31, 2020 and 2019, the Company did not recognize any material revenue adjustment, respectively, related to performance obligations satisfied in prior periods released from this deferred revenue. As of January 31, 2020 and 2019, the respective deferred revenues were not material. Additionally, the transaction price allocated to unsatisfied, or partially unsatisfied, purchase orders for contracts that are greater than a year was not material as of January 31, 2020 and 2019, respectively. The Company also elects not to disclose the value of unsatisfied or partially unsatisfied performance obligations due to original expected contract duration of one year or less and elects to exclude amounts collected from customers for all sales taxes from the transaction price. Cost of Revenue Cost of revenue includes cost of materials, cost associated with packaging and assembly, testing and shipping, cost of personnel, stock-based compensation, logistics and quality assurance, warranty cost, royalty expense, write-downs of inventories and allocation of overhead. Warranty Costs The Company typically provides warranty on its products. The Company accrues for the estimated warranty costs at the time when revenue is recognized. The warranty accruals are regularly monitored by management based upon historical experience and any specifically identified failures. While the Company engages in extensive product quality assessment, actual product failure rates, material usage or service delivery costs could differ from estimates and revisions to the estimated warranty liability would be required. There was no warranty accrual as of January 31, 2020 and 2019, respectively. Research and Development Research and development costs are expensed as incurred and consist primarily of personnel costs, product development costs, which include engineering services, development software and hardware tools, license fees, costs of fabrication of masks for prototype products, other development materials costs, depreciation of equipment and tools and allocation of facility costs, net of any research and development grants. As of January 31, 2020, there was approximately $1.2 million of grants recorded in prepaid expenses and other current assets and approximately $3.2 million of grants recorded in other non-current assets in the consolidated balance sheets. Selling, General and Administrative Selling, general and administrative expenses consist of personnel costs, travel and trade show costs, legal expenses, other professional services and occupancy costs. Advertising expenses were not material for the fiscal years ended January 31, 2020, 2019 and 2018, respectively. Stock-Based Compensation The Company measures stock-based compensation for equity awards granted to employees and directors based on the estimated fair value on the grant date, and recognizes that compensation as expense using the straight-line attribution method for service condition awards or using the graded-vesting attribution method for awards with performance conditions over the requisite service period, which is typically the vesting period of each award. The Company determines the fair value of restricted stock and restricted stock units with service or performance conditions based on the fair market value of its ordinary shares on the grant date. The Company uses the Black-Scholes option pricing model to determine the fair value of stock options. Determining the fair value of stock options on the grant date requires the input of various assumptions, including stock price of the underlying ordinary share, the exercise price of the stock option, expected volatility, expected term, risk-free interest rate and dividend rate. In prior fiscal years, the expected term was calculated using the simplified method, and the expected volatility was calculated based on the weighted average of historical volatilities of the Company’s stock price and the share prices of similar companies that are publicly available for a period commensurate with the expected term. Starting from fiscal year 2019, the Company calculates expected volatility based on its own historical stock price for a period commensurate with the expected term, which is computed based on its own historical exercise behavior. The risk-free interest rate is derived from an average of the U.S. Treasury constant maturity rates for the respective periods most closely commensurate with the expected term. The expected dividend yield is zero because the Company has not historically paid dividends and has no present intention to pay dividends. The Company uses the Lattice pricing model and Monte Carlo Simulation to evaluate the fair value of awards with market conditions, including assumptions of historical volatility and risk-free interest rate commensurate with the vesting term. Upon adoption of ASU 2016-09, Compensation – Stock Compensation (Topic 718): Improvements to Employee Share-Based Payment Accounting Income Taxes The Company records income taxes using 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 recognized in its financial statements or tax returns. In estimating future tax consequences, generally all expected future events other than enactments or changes in the tax law or rates are considered. Valuation allowances are provided when necessary to reduce deferred tax assets to the amount expected to be realized. The Company applies authoritative guidance for the accounting for uncertainty in income taxes. The guidance requires that tax effects of a position be recognized only if it is “more likely than not” to be sustained based solely on its technical merits as of the reporting date. Upon estimating its tax positions and tax benefits, the Company considers and evaluates numerous factors, which may require periodic adjustments and which may not reflect the final tax liabilities. The Company adjusts its financial statements to reflect only those tax positions that are more likely than not to be sustained under examination . As part of the process of preparing consolidated financial statements, the Company is required to estimate its taxes in each of the jurisdictions in which it operates. The Company estimates actual current tax exposure together with assessing temporary differences resulting from differing treatment of items, such as accruals and allowances not currently deductible for tax purposes. These differences result in deferred tax assets, which are included in the consolidated balance sheets. In general, deferred tax assets represent future tax benefits to be received when certain expenses previously recognized in the consolidated statements of operations become deductible expenses under applicable income tax laws, or loss or credit carryforwards are utilized. In assessing whether deferred tax assets may be realized, the Company considers whether it is more likely than not that some portion or all of deferred tax assets will be realized. The ultimate realization of deferred tax assets is dependent upon the generation of future taxable income. The Company makes estimates and judgments about its future taxable income based on assumptions that are consistent with its plans and estimates. Should the actual amounts differ from estimates, the amount of valuation allowance could be materially impacted. Any adjustment to the deferred tax asset valuation allowance would be recorded in the consolidated income statement for the periods in which the adjustment is determined to be required. Net Income (Loss) Per Ordinary Share Basic earnings (losses) per share is computed by dividing net income (loss) available to ordinary shareholders by the weighted-average number of ordinary shares outstanding during the period. Diluted earnings (losses) per share is computed by dividing net income (loss) available to ordinary shareholders by the weighted-average number of ordinary shares outstanding during the period increased to include the number of additional ordinary shares that would have been outstanding if the potentially dilutive securities had been issued. Potentially dilutive securities include outstanding stock options, shares to be purchased under the Company’s employee stock purchase plan, unvested restricted stock and restricted stock units. The dilutive effect of potentially dilutive securities is reflected in diluted earnings (losses) per share by application of the treasury stock method. Comprehensive Income (Loss) Comprehensive income (loss) includes unrealized gains or losses from available-for-sale securities that are excluded from net income (loss). Recent Accounting Pronouncements In June 2016, the FASB issued ASU 2016-13, Financial Instruments – Credit Losses (Topic 326), to introduce a new impairment model for recognizing credit losses on financial instruments based on an estimate of current expected credit losses (“CECL”). Under the new CECL model, an entity is required to estimate the expected credit losses on available-for-sale (AFS) debt securities only when the fair value is below the amortized cost of the asset and is no longer based on an impairment being “other-than-temporary”. The new model also requires the impairment calculation on an individual security level and requires an entity use present value of cash flows when estimating the expected credit losses. The credit-related losses are required to be recognized through earnings and non-credit related losses are reported in other comprehensive income. In April 2019, the FASB further clarified the scope of the credit losses standard and addressed issues related to accrued interest receivable balances, recoveries, variable interest rates and prepayment. The ASU will be effective for public entities in fiscal years beginning after December 15, 2019, including interim periods within those fiscal years. The new guidance will require modified retrospective application to all outstanding instruments, with a cumulative effect adjustment recorded to opening retained earnings as of the beginning of the first period in which the guidance becomes effective. The Company is currently evaluating the impac |