Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Use of Estimates The preparation of consolidated financial statements in accordance with U.S. GAAP requires management to make estimates, assumptions and judgments that affect the reported amounts of assets, liabilities, revenue, and expenses and related disclosures. On an ongoing basis, the Company evaluates its estimates, including, among others, those related to income taxes, the realizability of inventory, stock-based compensation, contingencies, revenue-related reserves, fair value measurements, goodwill, and useful lives of property and equipment and intangible assets. The Company bases its estimates on historical experience, market conditions, and on various other assumptions that are believed to be reasonable. Actual results may differ from these estimates. Comprehensive Loss The Company did no t have any other comprehensive income or loss for the years ended December 31, 2022, 2021, and 2020 . Accordingly, net loss and comprehensive loss are the same for the periods presented. Revenue Recognition Revenue consists of retail used vehicle sales, wholesale used vehicle sales, financing vehicle sales through UACC, fees earned on sales of third-party financing and value-added products to customers in connection with vehicles sales, and other revenues. Refer to Note 3 – Revenue Recognition for a discussion of the Company’s significant accounting policies related to revenue recognition. Cost of sales Cost of sales primarily includes the cost to acquire used vehicles, inbound transportation costs and direct and indirect reconditioning costs associated with preparing vehicles for resale. Reconditioning costs include parts, labor and third-party reconditioning costs directly attributable to the vehicle and allocated overhead costs. Cost of sales also includes any necessary adjustments to reflect vehicle inventory at the lower of cost or net realizable value. As a result of the acquisition of Unitas Holding Corp, cost of sales also includes interest expense incurred on securitization debt and collection expenses related to servicing finance receivables originated by UACC. Cash and Cash Equivalents Cash and cash equivalents include cash deposits at financial institutions and highly liquid investments with original maturities of three months or less. Outstanding checks that are in excess of the cash balances at certain financial institutions are included in “Accounts payable” in the consolidated balance sheets and changes in these amounts are reflected in operating cash flows in the consolidated statements of cash flows. Restricted Cash Restricted cash includes cash deposits required under the Company’s 2022 Vehicle Floorplan Facility as explained in Note 10 – Vehicle Floorplan Facility, and cash deposits of $ 12.5 million required under cash collateral agreements with certain of the Company's lenders. Additionally, starting in the first quarter of 2022, restricted cash also includes UACC restricted cash. UACC collects and services all receivables under the securitizations and warehouse credit facilities. These collections are restricted for use until properly remitted each month under the terms of the servicing agreement. Refer to Note 11 — Warehouse Credit Facilities of Consolidated VIEs and Note 13 — Long Term Debt for further detail. Accounts Receivable, Net Accounts receivable, net of an allowance for doubtful accounts, includes amounts due from customers and from third-party financial institutions related to vehicle purchases. The allowance for doubtful accounts is estimated based upon historical experience, age of the balances, current economic conditions and other factors and is evaluated as of each reporting date. Increases and decreases in the allowance for doubtful accounts are recorded in “Selling, general and administrative expenses” in the consolidated statements of operations. Finance Receivables Finance receivables consist of installment contracts the Company originates through UACC to finance the vehicles it sells, as well as installment contracts acquired by UACC from its existing network of third-party dealership customers. The Company's finance receivables are generally secured by the vehicles being financed. Finance receivables over 90 days delinquent are considered nonaccrual finance receivables. Interest income is subsequently recognized only to the extent cash payments are received. Finance receivables may be restored to accrual status when a customer settles all delinquency balances and future interest and principal payments are reasonably assured. Finance Receivables Held for Sale, Net Finance receivables that the Company intends to sell and not hold to maturity are classified as held-for-sale. The Company intends to sell finance receivables either through securitization transactions or forward flow arrangements. Finance receivables classified as held for sale are recorded at the lower of cost or fair value. Deferred acquisition costs and any discounts or premiums are deferred until the finance receivables are sold and are then recognized as part of the total gain or loss on sale and recorded in “Finance Revenue” and "Product, net" in the consolidated statements of operations. The Company records a valuation allowance to report finance receivables at the lower of amortized cost basis or fair value. For purposes of determining the valuation allowance, finance receivables are evaluated collectively to determine the valuation allowance as they represent a large group of smaller-balance homogeneous loans. To the extent that actual experience differs from estimates, significant adjustments to the Company's valuation allowance may be needed. Fair value adjustments are recorded in "Other loss (income), net" in the consolidated statements of operations. Principal balances of finance receivables are charged-off when the Company is unable to sell the finance receivable and the related vehicle has been repossessed and liquidated or the receivable has otherwise been deemed uncollectible. As of December 31, 2022, the valuation allowance for finance receivables classified as held for sale was $ 10.5 million. Refer to Note 17 – Financial Instruments and Fair Value Measurements . Finance Receivables at Fair Value Finance receivables at fair value represent finance receivables for which the Company elected the fair value option on February 1, 2022 and primarily consists of the finance receivables that were underwritten prior to the Acquisition Date. From time to time, the Company accounts for certain finance receivables under the fair value designation. Fair value adjustments are recorded in "Other loss (income), net" in the consolidated statements of operations. Refer to Note 17 – Financial Instruments and Fair Value Measurements. Consolidated CFEs The Company elected the fair value option for the initial recognition of the assets and liabilities of its consolidated VIEs related to the 2020 and 2021 UACC historical securitizations. These VIEs are consolidated collateralized financing entities (CFEs) and are accounted for using the measurement alternative in accordance with ASU 2014-13, Measuring the Financial Assets and Liabilities of a Consolidated Collateralized Financing Entity (“ASU 2014-13"). Interest income, interest expense and other loss or income associated with these CFEs are presented on the consolidated statements of operations, within the “Finance revenue”, “Finance cost of sales” and “Other loss (income), net” line items, respectively. The assets and liabilities of the CFEs are presented as part of the current and noncurrent “Finance receivables at fair value”, “Current portion of securitization debt of consolidated VIEs at fair value”, and "Long term debt, net of current portion", respectively, on the consolidated balance sheets. During the year ended December 31, 2022 , the Company recognized interest income of $ 40.9 million, interest expense of $ 3.4 million, and other net gains and losses due to changes in fair value of $ 21.0 million. Refer to Note 17 – Financial Instruments and Fair Value Measurements for further details. Inventory Inventory consists primarily of used vehicles and parts and accessories and is stated at the lower of cost or net realizable value. Inventory cost is determined by specific identification and includes acquisition cost, direct and indirect reconditioning costs and inbound transportation expenses. Net realizable value represents the estimated selling price less costs to complete, dispose and transport the vehicles. The Company recognizes any necessary adjustments to reflect inventory at the lower of cost or net realizable value through adjustments to “Cost of sales” in the consolidated statements of operations. Property and Equipment, Net Property and equipment are recorded at cost less accumulated depreciation and amortization. Charges for repairs and maintenance that do not improve or extend the life of the respective assets are expensed as incurred. When assets are retired or otherwise disposed of, their costs and related accumulated depreciation are written off and any resulting gains or losses are recorded during the period. Depreciation and amortization are calculated using the straight-line method over the following estimated useful lives of the assets: Equipment 3 to 15 years Furniture and fixtures 3 to 15 years Logistics fleet 5 to 7 years Leasehold improvements Lesser of useful life or lease term Internal-use software 1 to 10 years The Company capitalizes direct costs of materials and services utilized in developing or obtaining internal-use software. The Company also capitalizes payroll and payroll-related costs for employees who are directly associated with and who devote time to the development of software products for internal use, to the extent of the time spent directly on the project. Capitalization of costs begins during the application development stage and ends when the software is available for general use. Costs incurred during the preliminary project and post-implementation stages are charged to expense as incurred. Additionally, the Company capitalizes implementation costs incurred in a cloud computing arrangement that is a service contract. The capitalized implementation costs related to a cloud computing arrangement are amortized over the term of the arrangement. Capitalized implementation costs are included in “Other assets” in the consolidated balance sheet and are amortized over the terms of the arrangements, which range between 1 and 10 years. Goodwill and Intangible Assets Goodwill represents the excess of the consideration transferred over the fair value of the identifiable assets acquired and liabilities assumed in business combinations. Goodwill is tested for impairment annually as of October 1 or whenever events or changes in circumstances indicate that an impairment may exist. The Company has three reporting units: Ecommerce, Wholesale and Retail Financing. In performing its goodwill impairment test, the Company first reviews qualitative factors to determine whether it is more likely than not that the fair value of a reporting unit is less than its carrying amount. If, after assessing qualitative factors, the Company determines that it is more likely than not that the fair value of a reporting unit is more than its carrying amount, then performing the quantitative test is unnecessary and the Company’s goodwill is not considered to be impaired. However, if based on the qualitative assessment the Company concludes that it is more likely than not that the fair value of the reporting unit is less than its carrying amount, or if the Company elects to bypass the optional qualitative assessment as provided for under U.S. GAAP, the Company proceeds with performing the quantitative impairment test. Refer to Note 8 — Goodwill and Intangible Assets for further details on the impairment tests performed. The Company's intangible assets are amortized on a straight-line basis over the following estimated weighted average useful lives: Developed technology 7 years Trademarks 9 years Customer relationships 8 years The Company periodically reassesses the useful lives of its definite-lived intangible assets when events or circumstances indicate that useful lives have significantly changed from the previous estimate. Vehicle Floorplan The vehicle floorplan payable (the “Vehicle Floorplan Facility”) reflects amounts borrowed to finance the purchase of specific vehicle inventories. Portions of the Vehicle Floorplan Facility are settled on a daily basis depending on the Company’s sales and purchasing activity. The Vehicle Floorplan Facility is collateralized by vehicle inventories and certain other assets of the Company. Borrowings and repayments are presented separately and classified as financing activities within the consolidated statements of cash flows. Income Taxes The Company accounts for income taxes under the asset and liability method. The Company recognizes deferred tax assets and liabilities for the future tax consequences attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax basis, as well as for operating loss and tax credit carry forwards. The Company measures deferred tax assets and liabilities using enacted tax rates expected to apply to taxable income in the years in which the Company expects to recover or settle those temporary differences. The Company recognizes the effect of a change in tax rates on deferred tax assets and liabilities in the results of operations in the period that includes the enactment date. The Company reduces the measurement of a deferred tax asset, if necessary, by a valuation allowance if it is more likely than not that the Company will not realize some or all of the deferred tax asset. The Company accounts for uncertain tax positions by recognizing the financial statement effects of a tax position only when, based upon technical merits, it is more likely than not that the position will be sustained upon examination. Potential interest and penalties associated with unrecognized tax positions are recognized in income tax expense. Stock-Based Compensation The Company recognizes the cost of employee services received in exchange for stock awards based on the fair value of those awards at the date of grant over the requisite service period. The Company accounts for forfeitures as they occur. For awards earned based on performance or upon occurrence of a contingent event, if the award is deemed probable of being earned, related compensation expense is recorded over the estimated service period. If an award is not considered probable of being earned, no amount of stock-based compensation is recognized. To the extent the estimate of awards considered probable of being earned changes, the amount of stock-based compensation recognized will also change. The Company uses the Black-Scholes-Merton (“Black-Scholes”) option pricing model to determine the fair value of its stock options. Estimating the fair value of stock options requires the input of subjective assumptions, including the estimated fair value of the Company’s common stock, the expected life of the options, stock price volatility, which is determined based on the historical volatilities of several publicly listed peer companies as the Company has only a short trading history for its common stock, the risk-free interest rate and expected dividends. The assumptions used in the Company’s Black-Scholes option-pricing model represent management’s best estimates and involve a number of variables, uncertainties and assumptions and the application of management’s judgment, as they are inherently subjective. Business Combinations The Company uses its best estimates and assumptions to assign fair value to the tangible and intangible assets acquired and liabilities assumed at the acquisition date. The Company’s estimates are inherently uncertain and subject to refinement. During the measurement period, which may be up to one year from the acquisition date, the Company may record adjustments to the fair value of these tangible and intangible assets acquired and liabilities assumed, with the corresponding offset to goodwill. The Company will continue to collect information and reevaluate these estimates and assumptions quarterly and record any adjustments to the Company’s preliminary estimates to goodwill provided that the Company is within the measurement period. Upon the conclusion of the measurement period or final determination of the fair value of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments will be recorded to the Company’s consolidated statement of operations. Advertising Advertising costs are expensed as incurred and are included within “Selling, general and administrative expenses” in the consolidated statements of operations. Advertising expenses were $ 79.7 million, $ 125.5 million, and $ 62.4 million for the years ended December 31, 2022, 2021 and 2020 , respectively. Shipping and Handling Logistics costs related to inbound transportation from the point of acquisition to the relevant reconditioning facility are included in cost of sales when the related used vehicle is sold. Logistics costs not included in cost of sales are accounted for as costs to fulfill contracts with customers and are included in “Selling, general and administrative expenses” in the consolidated statements of operations and were $ 39.0 million, $ 85.8 million, and $ 30.3 million for the years ended December 31, 2022, 2021, and 2020 , respectively. Concentration of Credit Risk and Significant Customers The Company’s principal financial instruments subject to potential concentration of credit risk are cash and cash equivalents and accounts receivable, which are unsecured. The Company’s cash balances are maintained at various large, reputable financial institutions. Deposits held with financial institutions may at times exceed the amount of insurance provided on such deposits. Generally, these deposits may be redeemed upon demand and, therefore, management believes they bear minimal risk. The Company’s cash equivalents primarily consist of money market funds that hold investments in highly liquid U.S. treasury securities and commercial paper investments. Concentration of credit risk with respect to accounts receivable is generally mitigated by a large customer base. For the years ended December 31, 2022, 2021, and 2020, no customer represented 10% or more of the Company’s revenues and no customer represented more than 10% of the Company’s accounts receivable as of December 31, 2022 and 2021 . Liquidity The Company has had negative cash flows and generated losses from operations since inception and has historically had to rely on debt and equity financing to fund its operations. Further, the Company expects to incur additional losses in the future. On May 5, 2022, the Company approved the Realignment Plan and long-term roadmap, which was designed to position the Company for long-term profitable growth by prioritizing unit economics, reducing operating expenses and maximizing liquidity. Refer to Note 18 – Restructuring Activities for further discussion. As of December 31, 2022, the Company has cash and cash equivalents of $ 398.9 million and restricted cash of $ 73.1 million. The primary source of liquidity is cash generated through financing activities. In June 2021, the Company issued $ 625.0 million aggregate principal amount of 0.75 % unsecured Convertible Senior Notes due 2026 . In 2022, the Company repurchased $ 254.3 million in aggregate principal amount of the Notes (as defined in Note 13), net of deferred issuance costs of $ 4.9 million, for $ 90.2 million in open-market transactions. The Company recognized a gain on extinguishment of debt of $ 164.7 million for the year ended December 31, 2022. Refer to Note 13 – Long Term Debt for further discussion. The Company has a 2022 Vehicle Floorplan Facility (as defined in Note 10) with a borrowing capacity of $ 343.9 million as of December 31, 2022, of which $ 66.9 million was unutilized. The 2022 Vehicle Floorplan Facility provides a committed credit line of up to $ 500.0 million w hich is scheduled to mature on March 31, 2024. Refer to Note 10 – Vehicle Floorplan Facility for further discussion. In 2022, UACC sold $ 523.7 million of rated asset-backed securities and $ 49.6 million of residual certificates in auto loan securitization offerings for proceeds of $ 582.9 million. Refer to Note 4 – Variable Interest Entities and Securitizations for further discussion. UACC has four warehouse credit facilities with an aggregate borrowing limit of $ 850.0 million as of December 31, 2022. As of December 31, 2022, outstanding borrowings related to the Warehouse Credit Facilities were $ 229.5 million and excess borrowing capacity of $ 105.8 million. Refer to Note 11 – Warehouse Credit Facilities of Consolidated VIEs for further discussion. The Company anticipates that the existing cash and cash equivalents, the 2022 Vehicle Floorplan Facility and UACC credit facilities will be sufficient to support its operations for at least the next twelve months from the date of issuance of the consolidated financial statements. Net Loss Per Share Attributable to Common Stockholders Basic and diluted net loss per share attributable to common stockholders is presented in conformity with the two-class method required for participating securities. Under the two-class method, net loss is attributed to common stockholders and participating securities based on their participation rights. The Company considers all series of its redeemable convertible preferred stock to be participating securities. Under the two-class method, the net loss attributable to common stockholders is not allocated to the redeemable convertible preferred stock as the holders of the Company’s redeemable convertible preferred stock do not have a contractual obligation to share in the Company’s losses. Under the two-class method, basic net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. For periods in which the Company reports net losses, diluted net loss per common share attributable to common stockholders is the same as basic net loss per common share attributable to common stockholders because potentially dilutive common shares are not assumed to have been issued if their effect is anti-dilutive. Accounting Standards Adopted In February 2016, the FASB issued, ASU 2016-02 , Leases (Topic 842) , which amends the accounting guidance on leases. The new standard requires a lessee to recognize right-of-use assets and lease obligations on the balance sheet for most lease agreements. The Company adopted Topic 842 as of January 1, 2020 using the modified retrospective approach with a cumulative-effect adjustment to opening retained earnings (accumulated deficit) with no restatement of comparative periods. Upon adoption, the Company recognized $ 18.4 million of operating lease liabilities and $ 17.4 million of operating lease right-of-use assets. The adoption of Topic 842 did not result in a cumulative effect adjustment to accumulated deficit. In August 2018, the FASB issued ASU 2018-13, Fair Value Measurement (Topic 820): Disclosure Framework — Changes to the Disclosure Requirements for Fair Value Measurement, related to updated requirements over the disclosures of fair value measurements. Under ASU 2018-13, certain disclosure requirements for fair value measurements were eliminated, modified or added to facilitate better disclosure regarding recurring and non-recurring fair value measurements. The Company adopted the guidance on January 1, 2020 which did no t have a material impact on the Company’s consolidated financial statements and related disclosures. In June 2016, the FASB issued ASU 2016-13, Financial instruments, Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments , which amends the guidance on the impairment of financial instruments by requiring measurement and recognition of expected credit losses for most financial assets, including trade receivables, and other instruments that are not measured at fair value through net income. The Company adopted the guidance on January 1, 2020 which did no t have a material impact on the Company’s consolidated financial statements and related disclosures. In December 2019, the FASB issued ASU 2019-12, Income Taxes (Topic 740): Simplifying the Accounting for Income Tax es , which enhances and simplifies various aspects of the income tax accounting guidance including the elimination of certain exceptions related to the approach for intraperiod tax allocation, the methodology for calculating income taxes in an interim period and the recognition of deferred tax liabilities for outside basis differences. The Company adopted the guidance on January 1, 2021 which did no t have a material impact on the Company’s consolidated financial statements and related disclosures. In August 2020, the FASB issued ASU 2020-06, Debt – Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging – Contracts in Entity’s Own Equity (Subtopic 815-40): Accounting for Convertible Instruments and Contracts in an Entity’s Own Equity , which simplifies the issuer’s accounting for convertible debt instruments and amended certain guidance related to the computation of earnings per share for convertible instruments and contracts in an entity’s own equity. The Company early adopted the new guidance effective January 1, 2021 . There was no impact on the date of adoption. During the year ended December 31, 2021, the Company issued convertible notes. Refer to Note 13 – Long Term Debt for further discussion. Accounting Standards Issued But Not Yet Adopted In October 2021, the FASB issued ASU 2021-08, Business Combinations (Topic 805): Accounting for Contract Assets and Contract Liabilities from Contracts with Customers , which requires contract assets and contract liabilities acquired in a business combination to be recognized in accordance with Topic 606 as if the acquirer had originated the contracts. The guidance will be effective for fiscal years beginning after December 15, 2022, including interim periods within those fiscal years, with early adoption permitted. The adoption of ASU 2021-08 will not result in a material change to the Company’s consolidated financial statements and related disclosures. |