Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation and Principles of Consolidation The accompanying unaudited consolidated financial statements have been prepared in accordance with U.S. generally accepted accounting principles (“GAAP”) and applicable rules and regulations of the SEC regarding interim financial reporting. Certain information and note disclosures normally included in the financial statements prepared in accordance with GAAP have been condensed or omitted pursuant to such rules and regulations. As such, these unaudited condensed consolidated financial statements should be read in conjunction with the consolidated financial statements and accompanying notes included in the Company’s annual report on Form 10-K for the year ended December 31, 2022. The results of the six months ended June 30, 2023 are not necessarily indicative of the results to be expected for the fiscal year ending December 31, 2023 or other future periods. The consolidated financial statements reflect the accounts and operations of the Company and those of its subsidiaries, including Funds, in which the Company has a controlling financial interest. The typical condition for a controlling financial interest ownership is holding a majority of the voting interests of an entity. However, a controlling financial interest may also exist in entities, such as variable interest entities (“VIEs”), through arrangements that do not involve controlling voting interests. In accordance with the provisions of Financial Accounting Standards Board (“FASB”) Accounting Standards Codification Topic 810 (“ASC 810”) Consolidation , the Company consolidates any VIE of which it is the primary beneficiary. The primary beneficiary, as defined in ASC 810, is the party that has (1) the power to direct the activities of a VIE that most significantly impact the VIE’s economic performance and (2) the obligation to absorb the losses of the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE. The Company evaluates its relationships with its VIEs on an ongoing basis to determine whether it continues to be the primary beneficiary. The consolidated financial statements reflect the assets and liabilities of VIEs that are consolidated. All intercompany transactions and balances have been eliminated in consolidation. Use of Estimates The preparation of the consolidated financial statements requires management to make estimates and assumptions that affect the amounts reported in the consolidated financial statements and accompanying notes. The Company regularly makes estimates and assumptions, including, but not limited to, revenue recognition constraints that result in variable consideration, the discount rate used to adjust the promised amount of consideration for the effects of a significant financing component, the estimates that affect the collectability of accounts receivable, the valuation of inventories, the useful lives of solar energy systems, the useful lives of property and equipment, the valuation and useful lives of intangible assets, the effective interest rate used to amortize pass-through financing obligations, the discount rate uses for operating and financing leases, the valuation of stock-based compensation, the determination of valuation allowances associated with deferred tax assets, the fair value of debt instruments disclosed and the redemption value of redeemable noncontrolling interests. The Company bases its estimates on historical experience and on various other assumptions believed to be reasonable. Actual results may differ from such estimates. Segment Information The Company has one operating segment with one business activity, providing solar energy services and products to customers. The Company’s chief operating decision maker (“CODM”) is its Chief Executive Officer, who manages operations on a consolidated basis for purposes of allocating resources. When evaluating performance and allocating resources, the CODM reviews financial information presented on a consolidated basis. Revenue from external customers (including, but not limited to homeowners) for each group of similar products and services is as follows (in thousands): Three Months Ended June 30, Six Months Ended June 30, 2023 2022 2023 2022 Customer agreements $ 274,490 $ 232,003 $ 499,578 $ 422,505 Incentives 27,659 27,883 49,045 47,073 Customer agreements and incentives 302,149 259,886 548,623 469,578 Solar energy systems 202,483 209,314 431,385 409,313 Products 85,561 115,380 200,034 201,473 Solar energy systems and product sales 288,044 324,694 631,419 610,786 Total revenue $ 590,193 $ 584,580 $ 1,180,042 $ 1,080,364 Revenue from Customer Agreements includes payments by customers for the use of the system as well as utility and other rebates assigned by the customer to the Company in the Customer Agreement. Revenue from incentives includes revenue from solar renewable energy credits (“SRECs”) and the sale of commercial investment tax credits ("Commercial ITCs"). Cash and Restricted Cash Restricted cash represents amounts related to obligations under certain financing transactions and future replacement of solar energy system components. The following table provides a reconciliation of cash and restricted cash reported within the consolidated balance sheets that sum to the total of the same such amounts shown in the consolidated statement of cash flows. Cash and restricted cash consists of the following (in thousands): Six Months Ended June 30, 2023 2022 Beginning of period: Cash $ 740,508 $ 617,634 Restricted cash, current and long-term 212,515 232,797 Total $ 953,023 $ 850,431 End of period: Cash $ 669,094 $ 522,460 Restricted cash, current and long-term 251,984 340,668 Total $ 921,078 $ 863,128 Accounts Receivable Accounts receivable consist of amounts due from customers, as well as state and utility rebates due from government agencies and utility companies. Under Customer Agreements, the customers typically assign incentive rebates to the Company. Accounts receivable, net, consists of the following (in thousands): June 30, 2023 December 31, 2022 Customer receivables $ 225,841 $ 218,712 Other receivables 4,055 8,924 Allowance for credit losses (14,485) (13,381) Total $ 215,411 $ 214,255 Goodwill Goodwill represents the excess of the purchase price over the fair value of assets acquired and liabilities assumed. Goodwill is reviewed for impairment at least annually or whenever events or changes in circumstances indicate that the carrying amount may be impaired. The Company has determined that it operates as one reporting unit and the Company’s goodwill is recorded at the enterprise level. The Company performs its annual impairment test of goodwill on October 1 of each fiscal year or whenever events or circumstances change or occur that would indicate that goodwill might be impaired. When assessing goodwill for impairment, the Company uses qualitative and if necessary, quantitative methods in accordance with FASB ASC Topic 350, Goodwill . The Company also considers its enterprise value and if necessary, discounted cash flow model, which involves assumptions and estimates, including the Company’s future financial performance, weighted average cost of capital and interpretation of currently enacted tax laws. Circumstances that could indicate impairment and require the Company to perform a quantitative impairment test include significant declines in the Company’s financial results or enterprise value relative to its net book value or a sustained decline in the Company's stock price below its book value, coupled with declines in valuations for comparable public companies or acquisition premiums. As of October 1, 2022, the Company concluded that the fair value of the Company exceeded its carrying value. Since December 31, 2021, the trading price of the Company’s common stock has generally declined. A sustained decrease in the Company’s stock price is one of the qualitative factors to be considered as part of an impairment test when evaluating whether events or changes in circumstances may indicate that it is more likely than not that a potential goodwill impairment exists. During the first quarter of fiscal 2023, due to a material sustained decline of the Company’s market capitalization after consideration of a control premium below the book value of equity, the Company performed a quantitative assessment as of March 31, 2023 related to the recoverability of its goodwill for its one reporting unit. The Company estimated the fair value of its reporting unit primarily based on consideration of an income approach analysis. Under the income approach, future cash flows of the Company were estimated and converted to present value based on a discount rate reflecting a market participant risk-adjusted rate of return. The significant assumptions and estimates used in the assessment include, among others, estimated future net annual contracted cash flows under its existing long term customer agreements, as well as future growth estimates which rely on management judgements. The Company also compared the total invested capital (including market capitalization) to the fair value of its reporting unit to assess the reasonableness of fair value after consideration of a control premium. The fair value of the Company’s one reporting unit exceeded its carrying amount as of March 31, 2023. Holding all other assumptions constant, a 100 basis point increase in the discount rate assumption would not have resulted in impairment. Should, among other events and circumstances, industry conditions deteriorate, the outlook for future operating results and cash flow decline or regulations change, costs of equity or debt capital increase, valuations for comparable public companies or comparable acquisition valuations decrease, or the Company's market capitalization experience a further sustained decline below its book value, the Company may need to further reassess the recoverability of goodwill in future periods. The Company performed a qualitative assessment at June 30, 2023 and concluded no further evaluation was required. Deferred Revenue When the Company receives consideration, or when such consideration is unconditionally due, from a customer prior to delivering goods or services to the customer under the terms of a Customer Agreement, the Company records deferred revenue. Such deferred revenue consists of amounts for which the criteria for revenue recognition have not yet been met and includes amounts that are collected or assigned from customers, including upfront deposits and prepayments, and rebates. Deferred revenue relating to financing components represents the cumulative excess of interest expense recorded on financing component elements over the related revenue recognized to date and will eventually net to zero by the end of the initial term. Amounts received related to the sales of SRECs which have not yet been delivered to the counterparty are recorded as deferred revenue. The opening balance of deferred revenue was $873.6 million as of December 31, 2021. Deferred revenue consists of the following (in thousands): June 30, 2023 December 31, 2022 Under Customer Agreements: Payments received, net $ 871,166 $ 840,771 Financing component balance 68,756 65,326 939,922 906,097 Under SREC contracts: Payments received, net 190,217 179,416 Financing component balance 11,860 10,460 202,077 189,876 Total $ 1,141,999 $ 1,095,973 During the three months ended June 30, 2023 and 2022, the Company recognized revenue of $29.6 million and $25.5 million, respectively, and in the six months ended June 30, 2023 and 2022, the Company recognized revenue of $53.6 million and $45.9 million, respectively, from amounts included in deferred revenue at the beginning of the respective periods. Revenue allocated to remaining performance obligations represents contracted revenue that has not yet been recognized and includes deferred revenue as well as amounts that will be invoiced and recognized as revenue in future periods. Contracted but not yet recognized revenue was approximately $21.6 billion as of June 30, 2023, of which the Company expects to recognize approximately 5% over the next 12 months. The annual recognition is not expected to vary significantly over the next 10 years as the vast majority of existing Customer Agreements have at least 10 years remaining, given that the average age of the Company's fleet of residential solar energy systems under Customer Agreements is less than five years due to the Company being formed in 2007 and having experienced significant growth in the last few years. The annual recognition on these existing contracts will gradually decline over the midpoint of the Customer Agreements over the following 10 years as the typical 20- or 25-year initial term expires on individual Customer Agreements. Fair Value of Financial Instruments The Company defines fair value as the exchange price that would be received for an asset or an exit price that would be paid to transfer a liability in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. The Company uses valuation approaches to measure fair value that maximize the use of observable inputs and minimize the use of unobservable inputs. The FASB establishes a three-tier fair value hierarchy for disclosure of fair value measurements as follows: • Level 1—Inputs are unadjusted, quoted prices in active markets for identical assets or liabilities at the measurement date; • Level 2—Inputs are observable, unadjusted quoted prices in active markets for similar assets or liabilities, unadjusted quoted prices for identical or similar assets or liabilities in markets that are not active, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the related assets or liabilities; and • Level 3—Inputs that are unobservable, significant to the measurement of the fair value of the assets or liabilities and are supported by little or no market data. The Company's financial instruments include cash, receivables, accounts payable, accrued expenses, distributions payable to noncontrolling interests, derivatives, contingent consideration, and recourse and non-recourse debt. Revenue Recognition The Company recognizes revenue when control of goods or services is transferred to its customers, in an amount that reflects the consideration it expects to be entitled to in exchange for those goods or services. Customer agreements and incentives Customer agreements and incentives revenue is primarily comprised of revenue from Customer Agreements in which the Company provides continuous access to a functioning solar energy system and revenue from the sales of SRECs generated by the Company’s solar energy systems to third parties. The Company begins to recognize revenue on Customer Agreements when permission to operate ("PTO") is given by the local utility company or on the date daily operation commences if utility approval is not required. Revenue recognition does not necessarily follow the receipt of cash. For Customer Agreements that include a fixed fee per month which entitles the customer to any and all electricity generated by the system, and for which the Company’s obligation is to provide continuous access to a functioning solar energy system, the Company recognizes revenue evenly over the time that it satisfies its performance obligations, which is over the initial term of the Customer Agreements. For Customer Agreements that charge a fixed price per kilowatt hour, and for which the Company’s obligation is the provision of electricity from a solar energy system, revenue is recognized based on the actual amount of power generated at rates specified under the contracts. Customer Agreements typically have an initial term of 20 or 25 years. After the initial contract term, Customer Agreements typically automatically renew annually or for five years. SREC revenue arises from the sale of environmental credits generated by solar energy systems and is generally recognized upon delivery of the SRECs to the counterparty or upon reporting of the electricity generation. For pass-through financing obligation Funds, the value attributable to the monetization of Commercial ITCs are recognized in the period a solar energy system is granted PTO - see Note 10 , Pass-Through Financing Obligations . In determining the transaction price, the Company adjusts the promised amount of consideration for the effects of the time value of money when the timing of payments provides it with a significant benefit of financing the transfer of goods or services to the customer. In those circumstances, the contract contains a significant financing component. When adjusting the promised amount of consideration for a significant financing component, the Company uses the discount rate that would be reflected in a separate financing transaction between the entity and its customer at contract inception and recognizes the revenue amount on a straight-line basis over the term of the Customer Agreement, and interest expense using the effective interest rate method. Consideration from customers is considered variable due to the performance guarantee under Customer Agreements and liquidating damage provisions under SREC contracts in the event minimum deliveries are not achieved. Performance guarantees provide a credit to the customer if the system's cumulative production, as measured on various PTO anniversary dates, is below the Company's guarantee of a specified minimum. Revenue is recognized to the extent it is probable that a significant reversal of such revenue will not occur. The Company capitalizes incremental costs incurred to obtain a contract in Other Assets in the consolidated balance sheets. These amounts are amortized on a straight-line basis over the term of the Customer Agreements, and are included in Sales and marketing in the consolidated statements of operations. Solar energy systems and product sales For solar energy systems sold to customers, revenue is recognized when the solar energy system passes inspection by the authority having jurisdiction, which inspection generally occurs after installation but prior to PTO, at which time the Company has met the performance obligation in the contract. For solar energy system sales that include delivery obligations up until interconnection to the local power grid with permission to operate, the Company recognizes revenue at PTO. Certain solar energy systems sold to customers include fees for extended warranty and maintenance services. These fees are recognized over the life of the service agreement. The Company’s installation Projects are typically completed in less than twelve months. Product sales consist of solar panels, racking systems, inverters, other solar energy products sold to resellers, roofing repair, and customer leads. Product sales revenue is recognized at the time when control is transferred, upon shipment, or as services are delivered. Customer lead revenue, included in product sales, is recognized at the time the lead is delivered. Taxes assessed by government authorities that are directly imposed on revenue producing transactions are excluded from solar energy systems and product sales. Cost of Revenue Customer agreements and incentives Cost of revenue for customer agreements and incentives is primarily comprised of (1) the depreciation of the cost of the solar energy systems, as reduced by amortization of deferred grants, (2) solar energy system operations, monitoring and maintenance costs including associated personnel costs, and (3) allocated corporate overhead costs. Solar energy systems and product sales Cost of revenue for solar energy systems and non-lead generation product sales consist of direct and indirect material and labor costs for solar energy systems installations and product sales. Also included are engineering and design costs, estimated warranty costs, freight costs, allocated corporate overhead costs, vehicle depreciation costs and personnel costs associated with supply chain, logistics, operations management, safety and quality control. Cost of revenue for lead generations consists of costs related to direct-response advertising activities associated with generating customer leads. Recently Issued and Adopted Accounting Standards Accounting standards adopted effective January 1, 2023: In October 2022, the FASB issued ASU No. 2022-04, Liabilities — Supplier Finance Programs (Subtopic 405-50): Disclosure of Supplier Finance Program Obligations , which requires entities to disclose the key terms of supplier finance programs they use in connection with the purchase of goods and services along with information about their obligations under these programs, including a rollforward of those obligations. This ASU is effective for fiscal periods beginning after December 15, 2022, with early adoption permitted. The Company adopted ASU 2022-04 effective January 1, 2023 and there was no impact to its financial statement disclosures. In July 2023, the FASB issued ASU No. 2023-03, Presentation of Financial Statements (Topic 205), Income Statement—Reporting Comprehensive Income (Topic 220), Distinguishing Liabilities from Equity (Topic 480), Equity (Topic 505), and Compensation—Stock Compensation (Topic 718) |