Summary of Significant Accounting Policies | 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 natural gas as an alternative fuel for vehicle fleets and related natural gas fueling solutions to its customers, primarily in the United States and Canada. The Company’s principal business is supplying renewable natural gas (“RNG”), compressed natural gas (“CNG”) and liquefied natural gas (“LNG”) (RNG can be delivered in the form of CNG or LNG) for light, 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 natural gas fueling compressors and other equipment used in CNG stations and LNG 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. In addition, for all periods presented before March 31, 2017, the Company produced RNG at its own production facilities, and for all periods presented before December 29, 2017, the Company manufactured natural gas fueling compressors and other equipment used in CNG stations. See Note 4 for more information. 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 loss and cash flows in accordance with accounting principles generally accepted in the United States of America (“US GAAP”). All intercompany accounts and transactions have been eliminated in consolidation. Reclassifications During the year ended December 31, 2018, the Company adopted Accounting Standards Update (“ASU”) No. 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash . The new standard requires restricted cash and restricted cash equivalents to be included as components of total cash and cash equivalents as presented on the statement of cash flows. As a result, the Company chose to also conform this classification on the accompanying consolidated balance sheets. This resulted in prior period restricted cash of $1,127 as of December 31, 2017 being reclassified into a single line item with cash and cash equivalents to conform to the presentation as of December 31, 2018. In addition, certain prior period amounts have been reclassified in the accompanying consolidated statements of operations and cash flows to conform to the current period presentation. These reclassifications had no material impact on the Company’s consolidated financial position, results of operations, or cash flows as previously reported. Use of Estimates The preparation of consolidated financial statements in conformity with US 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, 2017 and 2018 : 2017 2018 Raw materials and spare parts (1) $ 35,145 $ 34,890 Finished goods 93 85 Total inventory $ 35,238 $ 34,975 (1) During the year ended December 31, 2017, $19,394 in station parts were reclassified from construction in progress within “Land, property, and equipment, net” into “Inventory” in the accompanying consolidated balance sheets because they will primarily be used for stations to be sold. See Note 3 for more information . Derivative Instruments and Hedging Activities In connection with the Company’s Zero Now truck financing program, the Company entered into commodity swap contracts in October 2018 intended to manage risks related to the diesel-to-natural gas price spread in connection with the natural gas fuel supply commitments the Company expects to make in its anticipated fueling agreements with fleet operators that participate in the Zero Now program. The Company has not designated any derivative instruments as hedges for accounting purposes and does not enter into such instruments for speculative trading purposes. These derivative instruments are recorded in the accompanying consolidated balance sheets and are measured as either an asset or liability at fair value with changes in fair value recognized in earnings. See Note 8 for more information. 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 to twenty years for LNG liquefaction plant assets, up to ten years for station equipment and LNG trailers, and three to seven years for all other depreciable assets. Leasehold improvements are amortized over the shorter of their estimated useful lives or related lease terms. Periodically, the Company receives grant funding to assist in the financing of natural gas fueling station construction. The Company records the grant proceeds as a reduction of the cost of the respective asset. Total grant proceeds received were approximately $3,295 , $4,360 , and $653 for the years ended December 31, 2016 , 2017 and 2018 , respectively. 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, 2016 and 2018. In the third quarter of the year ended December 31, 2017, the Company recorded asset impairment charges of $32,274 related to its then-subsidiary, IMW Industries Ltd. (“IMW”) (formerly known as Clean Energy Compression Corp.) (“CEC”) and $20,384 related to certain station closures (see Note 3 for more information). 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 to eight years for customer relationships, one to ten years for acquired contracts, two to ten years for trademarks and trade names, and three years for non-compete agreements. The Company’s intangible assets as of December 31, 2017 and 2018 were as follows: 2017 2018 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 (9,730 ) (11,113 ) Net intangible assets $ 3,590 $ 2,207 Amortization expense for intangible assets was $5,794 , $5,065 , and $1,383 for the years ended December 31, 2016 , 2017 and 2018 , respectively. Estimated amortization expense for the five years and thereafter succeeding the year ended December 31, 2018 is approximately $973 , $765 , $469 , $0 , and $0 , respectively. 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 December 31, 2016 and 2018 , the Company utilized the qualitative and quantitative approaches respectively, and concluded there were no indicators of impairment to goodwill. During the third quarter of the year ended December 31, 2017 , as a result of the asset impairment charges recorded for intangible assets and stations (described previously and in Note 3 ), the Company determined that sufficient indicators of potential impairment existed to require an interim goodwill test of its one reporting unit prior to the annual test performed in the fourth quarter of 2017 . The goodwill test was performed by computing the fair value of the reporting unit and comparing it to the carrying value using a quantitative assessment. Based on the results of the goodwill test, the Company concluded that it is more likely than not that the fair value of its reporting unit exceeds its carrying amount and thus no impairment existed. The annual impairment test was subsequently performed on October 1 using the quantitative assessment and the Company concluded no impairment existed. The following table summarizes the activity related to the carrying amount of goodwill: Balance as of December 31, 2016 $ 93,018 Goodwill reduced during the year (1) (30,154 ) Foreign currency translation adjustment 1,464 Balance as of December 31, 2017 $ 64,328 Balance as of December 31, 2018 $ 64,328 (1) The Company reduced its goodwill balance by $26,576 when it sold certain assets of its subsidiary, Clean Energy Renewable Fuels (“Renewables”), on March 31, 2017, and by $3,578 when it contributed CEC to SAFE&CEC S.r.l. on December 29, 2017 (all described in Note 4 ). Alternative Fuels 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, 2017. The AFTC, which had previously expired on December 31, 2016, was reinstated on February 9, 2018 to apply to vehicle fuel sales made from January 1, 2017 through December 31, 2017. 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 2016 and 2017. 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 most recent 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,248 , has been 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,481 of AFTC credit claims related to prior years. AFTC revenue recognized for years ended December 31, 2016 and 2017 was $26,638 and $0 , respectively. AFTC is not currently available, and may not be reinstated, for vehicle fuel sales made after December 31, 2017. 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 $15 , $311 and $885 for the years ended December 31, 2016 , 2017 and 2018 , 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 awards, stock price volatility and risk‑free interest rates. 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. In March 2016, the FASB issued ASU 2016-09, Compensation – Stock Compensation (Topic 718): Improvements to Employee Share-Based Payments Accounting which simplified the accounting for share-based payment transactions. The Company adopted the standard as of January 1, 2017 and in connection with the adoption, elected to recognize forfeitures when they occur. This election was implemented under the modified retrospective approach with a cumulative effect of an increase in accumulated deficit of $194 , net of tax. This adjustment represents the cumulative additional compensation expense that would have been amortized through the date of adoption 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. In October 2016, the FASB issued ASU 2016-16, Income Taxes (Topic 740): Intra-Entity Transfers of Assets Other Than Inventory. Under the new standard, the selling (transferring) entity is required to recognize a current tax expense or benefit upon transfer of the asset. Similarly, the purchasing (receiving) entity is required to recognize a deferred tax asset or liability, as well as the related deferred tax benefit or expense, upon purchase or receipt of the asset. The Company early adopted the standard as of January 1, 2017. This election was implemented under the modified retrospective approach, resulting in a $303 increase in accumulated deficit representing the cumulative recognition of the income tax consequences of intra-entity transfers of assets other than inventory that occurred before the adoption date Net Loss Per Share Basic net 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. Diluted net 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 loss per share if their effect would be antidilutive. The following potentially dilutive securities have been excluded from the diluted net loss per share calculations because their effect would have been antidilutive. Although these securities were antidilutive for these periods, they could be dilutive in future periods. (in shares) 2016 2017 2018 Stock options 11,467,796 8,613,854 8,699,677 Convertibles notes 16,573,799 14,991,521 3,164,557 Restricted stock units 2,072,304 1,832,575 2,279,601 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 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, 2016 , 2017 and 2018 , foreign exchange transaction gains and (losses) were included in “Other income (expense)” in the accompanying consolidated statements of operations and were $132 , $(246) and $(18) , respectively. Comprehensive Loss Comprehensive 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 loss and comprehensive loss for the years ended December 31, 2016 , 2017 and 2018 was comprised of the Company’s foreign currency translation adjustments and unrealized gains (loss) 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 February 2018, the FASB issued ASU 2018-02, Income Statement - Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income , which allows for a reclassification from accumulated other comprehensive income to retained earnings for stranded tax effects resulting from the Tax Cuts and Jobs Act (the “TCJA”). This update is effective for fiscal years beginning after December 15, 2018, which for the Company is the first quarter of 2019, with early adoption permitted. The Company elected to early adopt this ASU during the year ended December 31, 2018 , which did not have any impact on the accompanying consolidated financial statements or related disclosures. The Company did not elect to reclassify the stranded tax effects of the TCJA because there were none. In December 2016, the FASB issued ASU 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash. The new standard requires restricted cash and restricted cash equivalents to be included as components of total cash and cash equivalents as presented on the statement of cash flows. This pronouncement is effective for reporting periods beginning after December 15, 2017, which for the Company is the first quarter of 2018. The Company adopted this standard on a retrospective basis, and adoption did not have a material impact on the Company’s consolidated financial statements or related disclosures. As a result of including restricted cash with cash and cash equivalents when reconciling the beginning-of-period and end-of-period total amounts presented in the accompanying consolidated statement of cash flows, net cash flows increased (decreased) by $2,756 and $(5,869) for the years ended December 31, 2016 and 2017, respectively. In September 2016, the FASB issued ASU 2016-15, Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Payments . The new standard provides clarification as to the classification of certain transactions as operating, investing or financing activities. This pronouncement is effective for reporting periods beginning after December 15, 2017, which for the Company is the first quarter of 2018. The Company adopted this standard on a retrospective basis, and adoption did not have a material impact on the accompanying consolidated financial statements and related disclosures for year ended December 31, 2016 and had no impact for the years ended December 31, 2017 and 2018, respectively. In May 2014, the FASB issued ASU 2014-09, Revenue from Contracts with Customers (Topic 606) (“ASC 606”), which amends the guidance in former Accounting Standards Codification Topic 605, Revenue Recognition , to provide a single, comprehensive revenue recognition model for all contracts with customers. The new standard requires an entity to recognize revenue in a manner that depicts the transfer of promised goods or services to customers in amounts that reflect the consideration to which an entity expects to be entitled in exchange for those goods or services. The new standard also requires entities to enhance disclosures about the nature, amount, timing and uncertainty of revenue and cash flows arising from contracts with customers. The standard is effective for fiscal years beginning after December 15, 2017, which for the Company was the first quarter of 2018. The Company adopted this standard using the modified retrospective method and recognized the cumulative effect of initially applying ASC 606 as an adjustment to “Accumulated deficit” in the accompanying consolidated balance sheet as of January 1, 2018. Results for reporting periods beginning after January 1, 2018 are presented under ASC 606, while prior period amounts are not adjusted. This adoption did not have a material impact to the Company’s consolidated financial statements. The ASC 606 adoption adjustments are as follows, and relate to significant financing components resulting from an advance payment by a customer of the Company’s subsidiary, NG Advantage LLC (“NG Advantage”) and an extended payment term to a station construction customer: Balance as of December 31, 2017 Adjustments Due to ASC 606 Balance as of January 1, 2018 Notes receivable and other long-term assets, net $ 21,397 $ (963 ) $ 20,434 Deferred revenue $ 3,432 $ 330 $ 3,762 Accumulated deficit $ (683,570 ) $ (1,293 ) $ (684,863 ) The ASC 606 adoption adjustments on the accompanying consolidated balance sheet as of December 31, 2018 are as follows: As of December 31, 2018 Balance before ASC 606 Adoption Effect of Change As Reported Notes receivable and other long-term assets, net $ 18,359 $ (889 ) $ 17,470 Deferred revenue $ 6,346 $ 1,015 $ 7,361 Accumulated deficit $ (686,749 ) $ (1,904 ) $ (688,653 ) The impact on the accompanying consolidated statements of operations for the year ended December 31, 2018 was immaterial. Recently Issued Accounting Standards In June 2016, the FASB issued ASU No. 2016-13, Financial Instruments - Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments . The new standard amends the impairment model to utilize an expected loss methodology in place of the currently used incurred loss methodology, which will result in the more timely recognition of losses. This pronouncement is effective for reporting periods beginning after December 15, 2019, which for the Company is the first quarter of 2020. The Company will evaluate the impact this ASU will have on its consolidated financial statements and related disclosures. In February 2016, the FASB issued ASU 2016-02, Leases (Topic 842) . The new standard requires most leases to be recognized on the balance sheet which will increase reported assets and liabilities. Lessor accounting remains substantially similar to current guidance. The new standard is effective for annual and interim periods in fiscal years beginning after December 15, 2018, which for the Company is the first quarter of 2019. The Company is in the process of evaluating the impact of the adoption of Topic 842 on the Company’s consolidated financial position and results of operations based on the Company’s leases presently in effect and plans to use the modified retrospective method upon adoption. The Company anticipates this standard will have a material impact on its consolidated balance sheet. The primary impact will be to record right-of-use (“ROU”) assets and lease liabilities for existing operating leases on the consolidated balance sheets. Currently, the Company estimates the adoption of the standard will result in the recognition of additional ROU assets and lease liabilities that are not anticipated to be greater than the Company’s future minimum lease payments (see Note 16 ), as of January 1, 2019. The Company does not expect the adoption to have a material impact on its consolidated statements of operations or its consolidated statements of cash flows. The Company’s analysis and evaluation of the new standard will continue through its effective date in the first quarter of 2019, including continuing to monitor any potential changes in the standard proposed by the FASB. |