Summary of Significant Accounting Policies | Note 1 —Summary of Significant Accounting Policies The Company Clean Energy Fuels Corp., together with its majority and wholly owned subsidiaries (hereinafter collectively referred to as the “Company,” unless the context or the use of the term indicates or requires otherwise) is engaged in the business of selling renewable and conventional natural gas as alternative fuels for vehicle fleets and related fueling solutions to its customers, primarily in the United States and Canada. The Company’s principal business is supplying renewable natural gas (“RNG”) and conventional natural gas, in the form of compressed natural gas (“CNG”) and liquefied natural gas (“LNG”), for medium and heavy-duty vehicles and providing operation and maintenance (“O&M”) services for public and private vehicle fleet customer stations. As a comprehensive solution provider, the Company also designs, builds, operates and maintains fueling stations; sells and services compressors and other equipment used in fueling stations; offers assessment, design and modification solutions to provide operators with code-compliant service and maintenance facilities for natural gas vehicle fleets; transports and sells CNG and LNG via “virtual” natural gas pipelines and interconnects; procures and sells RNG; sells tradable credits it generates by selling RNG and conventional natural gas as a vehicle fuel, including Renewable Identification Numbers (“RIN Credits” or “RINs”) under the federal Renewable Fuel Standard Phase 2 and credits under the California and the Oregon Low Carbon Fuel Standards (collectively, “LCFS Credits”); helps its customers acquire and finance natural gas vehicles; and obtains federal, state and local credits, grants and incentives. Basis of Presentation The accompanying consolidated financial statements include the accounts of the Company and its subsidiaries, and, in the opinion of management, reflect all adjustments, which include only normal recurring adjustments, necessary to state fairly the Company’s consolidated financial position, results of operations, comprehensive income (loss) and cash flows in accordance with accounting principles generally accepted in the United States of America (“U.S. GAAP”). All intercompany accounts and transactions 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 amounts reported in the accompanying consolidated financial statements and these notes. Actual results could differ from those estimates and may result in material effects on the Company’s operating results and financial position. Significant estimates made in preparing the accompanying consolidated financial statements include (but are not limited to) those related to revenue recognition, fair value measurements, goodwill and long-lived asset valuations and impairment assessments, income tax valuations and stock-based compensation expense. Inventory Inventory consists of raw materials and spare parts, work in process and finished goods and is stated at the lower of cost (first-in, first-out) or net realizable value. The Company evaluates inventory balances for excess quantities and obsolescence by analyzing estimated demand, inventory on hand, sales levels and other information and reduces inventory balances to net realizable value for excess and obsolete inventory based on this analysis. Inventories consisted of the following as of December 31, 2019 and 2020 (in thousands): 2019 2020 Raw materials and spare parts $ 29,874 $ 28,100 Total inventory $ 29,874 $ 28,100 Derivative Instruments and Hedging Activities In connection with the Company’s Zero Now Zero Now Property and Equipment Property and equipment are recorded at cost. Depreciation and amortization are recognized over the estimated useful lives of the assets using the straight-line method. The estimated useful lives of depreciable assets are three LNG trailers three Leases On January 1, 2019, the Company adopted Accounting Standards Codification (“ASC”) 842, Leases At the inception of a contract the Company assesses whether the contract is, or contains, a lease. The Company’s assessment is based on: (1) whether the contract involves the use of a distinct identified asset, (2) whether the Company obtains the right to substantially all the economic benefit from the use of the asset throughout the period, and (3) whether the Company has the right to direct the use of the asset. The commencement date of the contract is the date the lessor makes the underlying asset available for use by the lessee. Right-of-use (“ROU”) assets represent the Company’s right to use an underlying asset during the lease term and lease liabilities represent obligations to make lease payments arising from the lease. ROU assets and lease liabilities are recognized at the commencement date based on the net present value of fixed lease payments over the lease term. ROU assets also include any initial direct costs and advance lease payments made and exclude lease incentives. Lease liabilities also include terminal purchase options when deemed reasonably certain to exercise. The Company’s lease term includes options to extend when it is reasonably certain that it will exercise that option. The Company has elected not to recognize ROU assets and lease liabilities for short-term leases that have a term of 12 months or less; the Company recognizes lease expense for these leases on a straight-line basis over the lease term. As most of the Company’s operating leases do not have an implicit rate that can be readily determined, the Company uses its secured incremental borrowing rate for the same term as the underlying lease based on information available at lease commencement. For finance leases, the Company uses the rate implicit in the lease. The lease classification affects the expense recognition on the consolidated statements of operations. Operating lease charges are recorded in “Cost of sales, exclusive of depreciation and amortization,” and “Selling, general and administrative” expense. Finance lease charges are split, whereby depreciation on assets under finance leases is recorded in “Depreciation and amortization” expense and an implied interest component is recorded in “Interest expense.” The expense recognition for operating leases and finance leases is substantially consistent with legacy accounting. Rent expense totaled $6.6 million for the year ended December 31, 2018. Long-Lived Assets The Company reviews the carrying value of its long-lived assets, including property and equipment and intangible assets with finite useful lives, for impairment whenever events or changes in circumstances indicate that the carrying value of an asset or asset group may not be recoverable. Events that could result in an impairment review include, among others, a significant decrease in the operating performance of a long-lived asset or asset group or the decision to close a fueling station. Impairment testing involves a comparison of the sum of the undiscounted future cash flows of the asset or asset group to its carrying amount. If the sum of the undiscounted future cash flows exceeds the carrying amount, then no impairment exists. If the carrying amount exceeds the sum of the undiscounted future cash flows, then a second step is performed to determine the amount of impairment, if any, to be recognized. An impairment loss is recognized to the extent that the carrying amount of the asset or asset group exceeds its fair value. The fair value of the asset or asset group is based on estimated discounted future cash flows of the asset or asset group using a discount rate commensurate with the related risk. The estimate of future cash flows requires management to make assumptions and to apply judgment, including forecasting future sales and expenses and estimating useful lives of the assets. These estimates can be affected by a number of factors, including, among others, future results, demand, and economic conditions, many of which can be difficult to predict. There were no impairments of the Company’s long-lived assets in the years ended December 31, 2018, 2019 and 2020. Intangible assets with finite useful lives are amortized over their respective estimated useful lives using the straight-line method. The estimated useful lives of intangible assets with finite useful lives are from one one two The Company’s intangible assets as of December 31, 2019 and 2020 were as follows (in thousands): 2019 2020 Customer relationships $ 5,376 $ 5,376 Acquired contracts 4,384 4,384 Trademark and trade names 2,700 2,700 Non-compete agreements 860 860 Total intangible assets 13,320 13,320 Less accumulated amortization (12,091) (12,856) Net intangible assets $ 1,229 $ 464 Amortization expense for intangible assets was $1.4 million, $1.0 million, and $0.8 million for the years ended December 31, 2018, 2019, and 2020, respectively. Estimated amortization expense subsequent to the year ended December 31, 2020 is approximately $0.5 million in 2021. Goodwill Goodwill represents the excess of costs incurred over the fair value of the net assets of acquired businesses. The Company assesses its goodwill using either a qualitative or quantitative approach to determine whether it is more likely than not that the fair value of its reporting unit is less than its carrying value. The Company is required to use judgment when applying the goodwill impairment test, including, among other considerations, the identification of reporting unit(s), the assessment of qualitative factors, and the estimation of fair value of a reporting unit in the quantitative approach. The Company determined that it is a single reporting unit for the purpose of goodwill impairment tests. The Company performs the impairment test annually on October 1, or more frequently if facts and circumstances warrant a review. The qualitative goodwill assessment includes the potential impact on a reporting unit’s fair value of certain events and circumstances, including its enterprise value, macroeconomic conditions, industry and market considerations, cost factors, and other relevant entity-specific events. If it is determined, based upon the qualitative assessment, that it is more likely than not that the reporting unit’s fair value is less than its carrying amount, then a quantitative impairment test is performed. The quantitative assessment estimates the reporting unit’s fair value based on its enterprise value plus an assumed control premium as evidence of fair value. The estimates used to determine the fair value of the reporting unit may change based on results of operations, macroeconomic conditions, stock price fluctuations, or other factors. Changes in these estimates could materially affect our assessment of the fair value and goodwill impairment for the reporting unit. During the years ended The following table summarizes the activity related to the carrying amount of goodwill (in thousands): Balance as of December 31, 2018 $ 64,328 Balance as of December 31, 2019 $ 64,328 Balance as of December 31, 2020 $ 64,328 Revenue Recognition On January 1, 2018, the Company adopted Financial Accounting Standards Board (“FASB”) Accounting Standards Update (“ASU”) 2014-09, Revenue from Contracts with Customers (Topic 606) The Company recognizes revenue when control of the promised goods or services is transferred to its customers, in an amount that reflects the consideration to which it expects to be entitled in exchange for the goods or services. In order to achieve that core principle, a five-step approach is applied: (1) identify the contract with a customer, (2) identify the performance obligations in the contract, (3) determine the transaction price, (4) allocate the transaction price to the performance obligations in the contract, and (5) recognize revenue allocated to each performance obligation when the Company satisfies the performance obligation. A performance obligation is a promise in a contract to transfer a distinct good or service to the customer and is the unit of account for revenue recognition. The Company is generally the principal in its customer contracts because it has control over the goods and services prior to them being transferred to the customer, and as such, revenue is recognized on a gross basis. Sales and usage-based taxes are excluded from revenues. Revenue is recognized net of allowances for returns and any taxes collected from customers, which are subsequently remitted to governmental authorities. Volume-Related The Company’s volume-related revenue primarily consists of sales of RNG and conventional natural gas, in the form of CNG and LNG, O&M services and RINs and LCFS Credits in addition to changes in fair value of the Company’s derivative instruments associated with providing fuel to customers under contracts. Fuel and O&M services are sold pursuant to contractual commitments over defined goods-and-service delivery periods. These contracts typically include a stand-ready obligation to supply natural gas and/or provide O&M services daily based on a committed and agreed upon routine maintenance schedule or when and if called upon by the customer. The Company applies the ‘right to invoice’ practical expedient and recognizes fuel and O&M services revenue in the amount to which the Company has the right to invoice. The Company has a right to consideration based on the amount of gasoline gallon equivalents of fuel dispensed by the customer and current pricing conditions, which are typically billed to the customer on a monthly basis. Since payment terms are less than a year, the Company has elected the practical expedient which allows it to not assess whether a customer contract has a significant financing component. Contract modifications are not distinct from the existing contract and are typically renewals of fuel and O&M service sales. As a result, these modifications are accounted for as if they were part of the existing contract. The effect of a contract modification on the transaction price is recognized prospectively. The Company sells RINs and LCFS Credits to third parties that need the credits to comply with federal and state requirements. Revenue is recognized on these credits when there is an agreement in place to monetize the credits at a determinable price. The changes in fair value of derivative instruments relate to the Company’s commodity swap and customer fueling contracts. The contracts are measured at fair value with changes in fair value recorded in the accompanying consolidated statements of operations in the period incurred. The amounts are classified as revenue because the Company’s commodity swap contracts are used to economically offset the risk associated with the diesel-to-natural gas price spread resulting from anticipated customer fueling contracts under the Company’s Zero Now Station Construction Sales Station construction contracts are generally short-term, except for certain larger and more complex stations, which can take up to 24 months to complete. For most of the Company’s station construction contracts, the customer contracts with the Company to provide a significant service of integrating a complex set of tasks and components into a single station. Hence, the entire contract is accounted for as one performance obligation. The Company recognizes revenue over time as the Company performs under its station construction contracts because of the continual transfer of control of the goods to the customer, who typically controls the work in process. Revenue is recognized based on the extent of progress towards completion of the performance obligation and is recorded proportionally as costs are incurred. Costs to fulfill the Company’s obligations under these contracts typically include labor, materials and subcontractors’ costs, other direct costs and an allocation of indirect costs. Refinements of estimates to account for changing conditions and new developments are continuous and characteristic of the process. Many factors that can affect contract profitability may change during the performance period of the contract, including differing site conditions, the availability of skilled contract labor, the performance of major suppliers and subcontractors, and unexpected changes in material costs. Because a significant change in one or more of these estimates could affect the profitability of these contracts, the contract price and cost estimates are reviewed periodically as work progresses and adjustments proportionate to the cost-to-cost measure of progress are reflected in contract revenues in the reporting period when such estimates are revised as discussed above. Provisions for estimated losses on uncompleted contracts are recorded in the period in which the losses become known. Contract modifications are typically expansions in scope of an existing station construction project. As a result, these modifications are accounted for as if they were part of the existing contract. The effect of a contract modification on the transaction price and the Company’s measure of progress for the performance obligation to which it relates is recognized as an adjustment to revenue (either as an increase or a reduction) on a cumulative catch-up basis. Under the typical payment terms of the Company’s station construction contracts, the customer makes either performance-based payments (“PBPs”) or progress payments. PBPs are interim payments of the contract price based on quantifiable measures of performance or the achievement of specified events or milestones. Progress payments are interim payments of costs incurred as the work progresses. For some of these contracts, the Company may be entitled to receive an advance payment. The advance payment typically is not considered a significant financing component because it is used to meet working capital demands that can be higher in the early stages of a construction contract and to protect the Company if the customer fails to adequately complete some or all of its obligations under the contract. In addition, the customer retains a small portion of the contract price until completion of the contract. Such retained portion of the contract price is not considered a significant financing component because the intent is to protect the customer. In certain contracts with its customers, the Company agrees to provide multiple goods or services, including construction of and sale of a station, O&M services, and sale of fuel to the customer. These contracts have multiple performance obligations because the promise to transfer each separate good or service is separately identifiable and is distinct. This evaluation requires significant judgment and the decision to combine a group of contracts or separate the combined or single contract into multiple performance obligations could change the amount of revenue recognized in one or more periods. The Company allocates the contract price to each performance obligation using best estimates of the standalone selling price of each distinct good or service in the contract. The primary method used to estimate the standalone selling price for fuel and O&M services is observable standalone sales, and the primary method used to estimate the standalone selling price for station construction sales is the expected cost plus a margin approach because the Company sells customized customer-specific solutions. Under this approach, the Company forecasts expected costs of satisfying a performance obligation and then adds an appropriate margin for the good or service. AFTC See discussion under “Alternative Fuel Tax Credit” below for more information about AFTC, which is not recognized as revenue until the period the credit is authorized through federal legislation. Other The majority of other revenue is from sales of used natural gas heavy-duty trucks purchased by the Company. Revenue on these contracts is recognized at the point in time when the customer accepts delivery of the truck. Alternative Fuel Tax Credit Under separate pieces of U.S. federal legislation, the Company has been eligible to receive a federal alternative fuels tax credit (“AFTC”) for its natural gas vehicle fuel sales made between October 1, 2006 and December 31, 2020. The AFTC, which had previously expired on December 31, 2016, was reinstated on February 9, 2018 to apply retroactively to vehicle fuel sales made from January 1, 2017 through December 31, 2017. On December 20, 2019, AFTC was retroactively extended beginning January 1, 2018 through December 31, 2020. The AFTC credit is equal to $0.50 per gasoline gallon equivalent of CNG that the Company sold as vehicle fuel, and $0.50 per diesel gallon of LNG that the Company sold as vehicle fuel in 2018, 2019 and 2020. Based on the service relationship with its customers, either the Company or its customer claims the credit. The Company records its AFTC credits, if any, as revenue in its consolidated statements of operations because the credits are fully payable to the Company and do not offset income tax liabilities. As such, the credits are not deemed income tax credits under the accounting guidance applicable to income taxes. As a result of the legislation authorizing AFTC being signed into law on December 20, 2019, all AFTC revenue for vehicle fuel the Company sold in the 2018 and 2019 calendar years, totaling $47.1 million, was recognized during the year ended December 31, 2019. As a result of the previous legislation authorizing AFTC being signed into law on February 9, 2018, all AFTC revenue for vehicle fuel the Company sold in the 2017 calendar year, totaling $25.2 million, was recognized and collected during the year ended December 31, 2018. In addition, during the year ended December 31, 2018, the Internal Revenue Service (“IRS”) approved, and the Company recognized as revenue, $1.5 million of AFTC credit claims related to prior years. AFTC was extended in December 2020 and is currently available for vehicle fuel sales made through December 31, 2021. LNG Transportation Costs The Company records the costs incurred to transport LNG to its customers in “Product cost of sales” in the accompanying consolidated statements of operations. Advertising Costs Advertising costs are expensed as incurred. Advertising costs were $0.9 million, $1.2 million and $0.0 million for the years ended December 31, 2018, 2019 and 2020, respectively. Stock-Based Compensation The Company recognizes compensation expense for all stock‑based payment arrangements over the requisite service period of the award. For stock options, the Company determines the grant date fair value using the Black‑Scholes option pricing model, which requires the input of certain assumptions, including the expected life of the stock‑based payment award, stock price volatility and risk‑free interest rate. For restricted stock units, the Company determines the grant date fair value based on the closing market price of its common stock on the date of grant. Income Taxes Income taxes are computed using the asset and liability method. Under this method, deferred income taxes are recognized by applying enacted statutory tax rates applicable to future years to differences between the tax bases and financial carrying amounts of existing assets and liabilities. The impact on deferred taxes of changes in tax rates and laws, if any, are applied to the years during which temporary differences are expected to be settled and are reflected in the consolidated financial statements in the period of enactment. Valuation allowances are established when management determines it is more likely than not that deferred tax assets will not be realized. When evaluating the need for a valuation analysis, we use estimates involving a high degree of judgment including projected future US GAAP income and the amounts and estimated timing of the reversal of any deferred tax assets and liabilities. The Company has a recognition threshold and a measurement attribute for the financial statement recognition and measurement of tax positions taken or expected to be taken in a tax return. For those benefits to be recognized, a tax position must be more likely than not to be sustained upon examination by taxing authorities based on the technical merits of the position. The amount recognized is measured as the largest amount of benefit that has a greater than 50 percent likelihood of being realized upon ultimate settlement. The Company recognizes potential accrued interest and penalties related to unrecognized tax benefit in income tax expense. The Company operates within multiple domestic and foreign taxing jurisdictions and is subject to audit in these jurisdictions. These audits can involve complex issues, which may require an extended period of time to resolve. Although the Company believes that adequate consideration has been given to these issues, it is possible that the ultimate resolution of these issues could be significantly different from originally estimated. Net Income (Loss) Per Share Basic net income (loss) per share is computed by dividing the net income (loss) attributable to Clean Energy Fuels Corp. by the weighted-average number of common shares outstanding and common shares issuable for little or no cash consideration during the period. Diluted net income (loss) per share is computed by dividing the net loss attributable to Clean Energy Fuels Corp. by the weighted-average number of common shares outstanding and common shares issuable for little or no cash consideration during the period and potentially dilutive securities outstanding during the period, and therefore reflects the dilution from common shares that may be issued upon exercise or conversion of these potentially dilutive securities, such as stock options, warrants, convertible notes and restricted stock units. The dilutive effect of stock awards and warrants is computed under the treasury stock method. The dilutive effect of convertible notes and restricted stock units is computed under the if-converted method. Potentially dilutive securities are excluded from the computations of diluted net income (loss) per share if their effect would be antidilutive. Foreign Currency Translation and Transactions The Company uses the local currency as the functional currency of its foreign subsidiary and equity method investment. Accordingly, all assets and liabilities outside the United States are translated into U.S. dollars at the rate of exchange in effect at the balance sheet date. Revenue and expense items are translated at the weighted-average exchange rates prevailing during the period. Foreign currency translation adjustments are recorded as accumulated other comprehensive income (loss) in stockholders’ equity. Foreign currency transactions occur when there is a transaction denominated in other than the respective entity’s functional currency. The Company records the changes in the exchange rate for these transactions in its consolidated statements of operations. For the years ended December 31, 2018, 2019 and 2020, foreign exchange transaction gains and (losses) were included in “Other income (expense), net” in the accompanying consolidated statements of operations and were $(0.0) million, $0.0 million and $(0.0) million, respectively. Comprehensive Income (Loss) Comprehensive income (loss) is defined as the change in equity (net assets) of a business enterprise during the period from transactions and other events and circumstances from non-owner sources. The difference between net income (loss) and comprehensive income (loss) for the years ended December 31, 2018, 2019 and 2020 was comprised of the Company’s foreign currency translation adjustments and unrealized gains and losses on available-for-sale securities. Concentration of Credit Risk Credit is extended to all customers based on financial condition, and collateral is generally not required. Concentrations of credit risk with respect to trade receivables are limited because of the large number of customers comprising the Company’s customer base and dispersion across many different industries and geographies. Certain international customers, however, have historically been slower to pay on trade receivables. Accordingly, the Company continually monitors collections and payments from its customers and maintains a provision for estimated credit losses based upon its historical experience and any specific customer collection issues that it has identified. Although credit losses have historically been within the Company’s expectations and the provisions established, the Company cannot guarantee that it will continue to experience the same credit loss rates that it has in the past. Recently Adopted Accounting Changes and Recently Issued Accounting Standards Recently Adopted Accounting Changes In June 2016, the FASB issued ASU No. 2016-13, Financial Instruments - Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments Recently Issued Accounting Standards In December 2019, the FASB issued ASU No. 2019-12, Income Taxes (Topic 740): Simplifying the Accounting for Income Taxes |