Basis of Presentation and Significant Accounting Policies | (1) Basis of Presentation and Summary of Significant Accounting Policies Description of Business Quanergy Systems, Inc. (the “Company” or “Quanergy”) formerly known as CITIC Capital Acquisition Corp., designs, develops and produces Light Detection and Ranging (“LiDAR”) sensors and is a leader in 3D sensing that delivers robust and intelligent real-time 3D object detection and classification solutions. CITIC Capital Acquisition Corp. (“CCAC”), the Company’s predecessor, was incorporated as a Cayman Islands exempted special purpose acquisition company. On February 7, 2022, CCAC effectuated the change of the Company’s jurisdiction of incorporation to the state of Delaware. Accordingly, each of CCAC’s issued and outstanding Class A Ordinary Shares and Class B Ordinary Shares automatically converted on a one-for-one Business Combination On February 8, 2022 (the “Closing Date” or “Closing”), the Company consummated the business combination (the “Business Combination”) pursuant to the terms of the Agreement and Plan of Merger, dated as of June 21, 2021 (as amended, the “Merger Agreement”), by and among CCAC, CITIC Capital Merger Sub Inc. (“Merger Sub”), and Quanergy Systems, Inc., (“Legacy Quanergy”). Pursuant to the terms of the Merger Agreement, the Business Combination between the Company and Legacy Quanergy was effected through the merger of Merger Sub with and into Legacy Quanergy, with Legacy Quanergy continuing as the surviving corporation and a wholly-owned subsidiary of the Company. On the Closing Date, the registrant changed its name from CITIC Capital Acquisition Corp. to Quanergy Systems, Inc. On January 28, 2022, Legacy Quanergy changed its corporate name to Quanergy Perception Technologies, Inc. In connection with the Business Combination, holders of 26,867,796 of CCAC’s Class A Ordinary Shares, or approximately 97.3% of the shares with redemption rights, exercised their right to redeem their shares for cash at a redemption price of approximately $10.07 per share, for an aggregate redemption amount of $270.5 million. On the Closing Date, holders of 600,000 of CCAC’s Class A Ordinary Shares, or approximately 2.2% of the shares with redemption rights, reversed their prior redemptions, resulting in $6.0 million being returned to the trust account established at the consummation of CCAC’s initial public offering prior to the Closing. Pursuant to the terms of the Merger Agreement, at the effective time of the Business Combination: • All outstanding shares of Legacy Quanergy common stock were cancelled and converted into shares of Quanergy using a conversion ratio of 3.8799 (“Exchange Ratio”); • All outstanding shares of Legacy Quanergy convertible preferred stock were cancelled and converted into shares of Quanergy’s common stock (all preferred stock except for Series B and Series C were cancelled and converted using a ratio of 3.8799; Series B and Series C were converted using ratios of 11.5423 and 14.3118, respectively); • All outstanding stock options, Restricted Stock (“RSAs”), Restricted Stock Unit Awards (“RSUs”) and common stock warrants of Legacy Quanergy, whether vested or unvested, were assumed by the Company and converted into stock options, Restricted Stock, Restricted Stock Unit Awards and common stock warrants of Quanergy; • The Note Financing Agreement issued in 2020 (the “2023 Initial Notes) and 2021 (the “Extension Notes”, and together with 2023 Initial Notes, referred to as the “2023 Notes”) converted into shares of Legacy Quanergy common stock, that subsequently converted into shares of common stock of Quanergy at the rate consistent with the terms of the note agreement; • Legacy Quanergy’s indebtedness under the Note Financing Agreement issued in 2018 was paid off; • All outstanding CCAC Class A and Class B Ordinary Shares were cancelled and converted into shares of common stock of Quanergy; • All outstanding warrants of CCAC converted automatically into warrants to purchase Quanergy common stock at a ratio of 1.0 to 1.0. On the Closing Date, certain investors (the “PIPE Investors”) purchased from the Company an aggregate of 3,695,000 shares (the “PIPE Shares”) of Common Stock at a price of $10.00 per share, for an aggregate purchase price of approximately $37.0 million (the “PIPE Financing”), in a private placement pursuant to separate subscription agreements consummated substantially concurrently with close of the Business Combination. The Company’s common stock and warrants are now listed on the New York Stock Exchange under the symbols “QNGY” and “QNGY WS”. Unless the context otherwise requires, “we,” “us,” “our,” “Quanergy,” and the “Company” refers to Quanergy Systems, Inc., the combined company and its subsidiaries following the Business Combination. Refer to “Note 2 — Reverse Recapitalization” for further discussion of the Business Combination. Basis of Presentation and Consolidation The accompanying interim unaudited condensed consolidated financial statements have been prepared in accordance with accounting principles generally accepted in the United States of America (“U.S. GAAP”). The condensed consolidated financial statements as of June 30, 2022 are unaudited. The condensed consolidated balance sheet as of December 31, 2021, included herein was derived from the audited consolidated financial statements as of that date. Certain information and note disclosures normally included in financial statements prepared in accordance with U.S. GAAP have been condensed or omitted. As such, the information included herein should be read in conjunction with the audited consolidated financial statements and accompanying notes as of and for the year ended December 31, 2021, which was filed as Exhibit 99.1 to the Company’s Form 8-K/A The condensed consolidated financial statements include the accounts of the Company and its wholly-owned subsidiaries. All intercompany accounts and transactions have been eliminated in consolidation. The Company’s fiscal year begins on January 1 and ends on December 31. In the opinion of the Company’s management, the unaudited condensed consolidated financial statements include all adjustments necessary for the fair presentation of the Company’s balance sheet as of June 30, 2022, the results of operations, including its comprehensive loss, and stockholders’ equity/(deficit) for the three and six months ended June 30, 2022 and 2021, and the statement of cash flows for the six months ended June 30, 2022 and 2021. All adjustments are of a normal recurring nature. The results for the three and six months ended June 30, 2022 are not necessarily indicative of the results to be expected for any subsequent quarter or for the fiscal year ending December 31, 2022. Summary of Significant Accounting Policies The Company’s significant accounting policies are disclosed in Summary of Significant Accounting Policies in the notes to the audited consolidated financial statements for the fiscal year ended December 31, 2021. Other than the accounting policies discussed below related to the adoption of Accounting Standards Codification (“ASC”) 842, Leases, there has been no material change to the Company’s significant accounting policies during the six months ended June 30, 2022. See “Recently Adopted Accounting Pronouncements” and “Note 13 — Leases” related to the adoption of ASC 842. Liquidity and Capital Resources The Company has prepared its condensed consolidated financial statements assuming that the Company will continue as a going concern. The Company has had recurring losses and an accumulated deficit since its inception. The Company obtained additional funding of $43.8 million in connection with the Business Combination and effectively settled its outstanding debt balance of $106 million, thereby providing the Company with additional future financial flexibility. The Business Combination also gives the Company access to $125 million from a previously announced share subscription facility from Global Emerging Markets Group (“GEM”), a Luxembourg-based private alternative investment group. On May 25, 2022, the Company received $9.9 million in cash under the facility in exchange for ultimate settlement of 25.1 million shares of common stock. Should the company be unable to access the GEM facility, it would be forced to seek other forms of financing which may not be available in sufficient amounts to fund its operations. These conditions raise substantial doubt about the Company’s ability to continue as a going concern, for a period of twelve months following the date of issuance of financial statements as of and for the six months ended June 30, 2022. These condensed consolidated financial statements do not include any adjustments that might result from the outcome of this uncertainty. COVID-19 The extensive impact of the pandemic caused by the novel coronavirus (“COVID-19”) COVID-19, COVID-19 Recently Adopted Accounting Pronouncements In February 2016, the FASB issued ASU 2016-02, Leases (i) not to reassess prior conclusions on whether any expired or existing contracts are or contain a lease, lease classification, and initial direct costs; (ii) combine lease and non-lease (iii) not to recognize right-of-use The Company’s operating leases primarily comprise of office facilities, with the most significant leases relating to corporate headquarters in Sunnyvale, CA. Upon adoption of the new leasing standard on January 1, 2022, the Company recognized ROU assets of $0.5 million and lease liabilities of $0.5 million. There was no cumulative impact of transition to retained earnings as of the adoption date. The standard did not impact the accompanying condensed consolidated statements of operations and the accompanying condensed consolidated statements of cash flows. In May 2021, the FASB issued ASU 2021-04, Earnings Per Share Debt — Modifications and Extinguishments 470-50), Compensation — Stock Compensation Derivatives and Hedging — Contracts in Entity’s Own Equity 815-40): Task Force). This guidance clarifies certain aspects of the current guidance to promote consistency among reporting of an issuer’s accounting for modifications or exchanges of freestanding equity-classified written call options (for example, warrants) that remain equity classified after modification or exchange. The amendments in this update are effective for all entities for fiscal years beginning after December 15, 2021, including interim periods within those fiscal years. The Company adopted the standard on January 1, 2022 and the standard did not impact the accompanying condensed consolidated financial statements. Recently Issued Accounting Pronouncements In June 2016, the FASB issued ASU 2016-13, Financial Instruments — Credit Losses 2016-13 In August 2020, the FASB issued ASU 2020-06, Debt with Conversion and Other Options 470-20) Derivatives and Hedging — Contracts in Entity’s Own Equity 815- if-converted | (2) Summary of Significant Accounting Policies (a) Use of Estimates The preparation of the Company’s consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets, liabilities, revenue, expenses, as well as related disclosure of contingent assets and liabilities. Estimates are used for the fair value of common stock, embedded derivative valuation, stock-based awards and other issuances, revenue recognition, useful lives of long-lived assets, warranty reserves, allowance for doubtful accounts, net realizable value of inventory, contingencies, valuation allowance for deferred tax assets and uncertain tax positions. Actual results could differ materially from the Company’s estimates. To the extent that there are material differences between these estimates and actual results, the Company’s financial condition or operating results will be affected. The Company bases its estimates on past experience and other assumptions that the Company believes are reasonable under the circumstances, and the Company evaluates these estimates on an ongoing basis. (b) Significant Risks and Uncertainties The Company is subject to those risks common in the technology industry and also those risks common to early stage companies including, but not limited to, the possibility of not being able to successfully develop or market its products as forecasted, technological obsolescence, competition, dependence on key personnel and key external alliances, the successful protection of its proprietary technologies, compliance with government regulations, and the possibility of not being able to obtain additional financing when needed. (c) Concentration of Risks Concentration of credit risk Financial instruments that potentially subject the Company to concentrations of credit risk consist primarily of cash and cash equivalents, restricted cash and accounts receivable. The Company’s cash and cash equivalents and restricted cash are on deposit with major financial institutions. Such deposits may be in excess of insured limits. The Company believes that the financial institutions that hold the Company’s cash are financially sound, and accordingly, minimum credit risk exists with respect to these balances. The Company has not experienced any losses due to institutional failure or bankruptcy. The Company performs credit evaluations of its customers and generally does not require collateral for sales on credit. The Company reviews accounts receivable balances to determine if any receivables will potentially be uncollectible and includes any amounts that are determined to be uncollectible in the allowance for doubtful accounts. As of December 31, 2021, there were two customers who had outstanding balances accounting for 26% and 21% of the total accounts receivable balance, respectively. As of December 31, 2020, there were three customers who had outstanding balances accounting for 16%, 16% and 10% of the total accounts receivable balance, respectively. Concentration of customers For the year ended December 31, 2021, two customers represented 10% or more of net sales. For the year ended December 31, 2020, no customer represented 10% or more of net sales. Concentration of suppliers For the year ended December 31, 2021, two suppliers represented 52% and 10% of the Company’s inventory purchases, accounting for $0.6 million and $0.2 million in purchases, respectively. For the year ended December 31, 2020, two suppliers represented 63% and 11% of the Company’s inventory purchases, accounting for $0.8 million and $0.1 million in purchases, respectively. (d) Foreign Currency The functional currencies of the Company’s subsidiaries, which are located in Canada, the United Kingdom, Germany, United Arab Emirates, China, Hong Kong, and Japan, are their local currencies. Assets and liabilities are translated into U.S. dollars at end-of-period (e) Cash and Cash Equivalents and Restricted Cash The Company considers all highly liquid securities that mature within three months or less from the original date of purchase to be cash equivalents. The Company maintains the majority of its cash balances with commercial banks in interest bearing accounts. Cash and cash equivalents include cash held in checking and savings accounts and highly liquid securities with original maturity dates of three months or less from the original date of purchase. The restricted cash balance as of December 31, 2021 and 2020 represents $70 thousand related to collateral to offset certain short-term, unsecured lending commitments associated with the Company’s corporate credit card program. (f) Accounts Receivable Accounts receivable are recorded at the invoiced amount and do not bear interest. The Company maintains an allowance for doubtful accounts for estimated losses inherent in its accounts receivable portfolio. In establishing the required allowance, management considers historical losses adjusted to take into account current market conditions and customers’ financial condition, the amount of receivables in dispute, the current receivables aging and customer payment patterns. Account balances are written off against the allowance after all means of collection have been exhausted and the potential for recovery is considered remote. As of December 31, 2021, and 2020, the Company provided for an allowance for doubtful accounts totaling $224 thousand. The Company does not have any off-balance (g) Inventory Inventory consists of raw materials, work-in-progress first-in, first-out (h) Revenue Recognition Revenue is recognized when a customer obtains control of promised products and services and the Company has satisfied its performance obligations. The amount of revenue recognized reflects the consideration which the Company expects to be entitled to receive in exchange for the products and services. To achieve this core principle, the Company applies the following five steps: Step 1. Identification of the contract(s) with a customer; Step 2. Identification of the performance obligations in the contracts(s); Step 3. Determination of the transaction price; Step 4. Allocation of the transaction price to the performance obligations; Step 5. Recognition of the revenue when, or as, the Company satisfies a performance obligation. Nature of goods and services The Company determines it has a contract with a customer when (i) it is enforceable and defines each party’s rights regarding the products and services to be transferred and identifies the payment terms related to the products and services, (ii) it has commercial substance and, (iii) collection of substantially all consideration for products and services that are transferred is probable based on the customer’s intent and ability to pay the promised consideration. The Company applies judgment in determining the customer’s ability and intention to pay, which is based on a variety of factors including the customer’s historical payment experience or, in the case of a new customer, published credit and financial information pertaining to the customer. The Company primarily enters into standard supply arrangements. Standard supply arrangements include the customer option to purchase LiDAR sensors, accessories, Quanergy Processing Units, servers, Qortex software, post-contract support services (“PCS”) and extended warranties either on a standalone basis or in a bundled arrangement over specified periods. The Qortex software is offered either as a perpetual or term-based license. To the extent a contract includes multiple promised products and services, the Company must apply judgment to determine whether promised products and services are capable of being distinct and are distinct in the context of the contract. If these criteria are not met, the promised products and services are accounted for as a combined performance obligation. The Company has determined that all of its promises are distinct, with the exception of certain software, training, certification, and professional services which are considered immaterial in the context of customer contracts and for which the Company has elected the practical expedient for immaterial goods and services. Hardware Based on the Company’s general terms of sale, legal title and physical possession of the Company’s hardware products, which include LiDAR sensors, accessories, Quanergy Processing Units, and servers, are transferred to the customer at shipment. Revenue on hardware is recognized at a point in time once the contractual shipping terms have been met and control is transferred. Software The Company primarily sells Qortex software licenses. Qortex software license arrangements provide a term-based or perpetual license bundled with related PCS. License revenue is primarily derived from the software that is embedded with the hardware or is deployed on the customers’ own servers. Licenses were determined to have significant standalone functionality and revenue is recognized upon transfer of control to the customer. The control for software is transferred at the later of delivery to the customer or the software license start date, however, there is ultimately minimal difference as the license keys are typically activated shortly after sale. The term-based license arrangements generally have terms ranging from one to two years and are invoiced to customers in advance upon execution of the contract. Amounts that have been invoiced are recorded in accounts receivable and in either deferred revenue or revenue in the accompanying consolidated financial statements, depending on whether the underlying performance obligation has been satisfied. Post-contract support services Typically, the Company provides PCS, including unspecified updates, upgrades, and minor bug-fixes, Extended warranties The Company typically provides a two-year In certain contracts, the Company provides the customer the option to purchase extended warranties, in addition to the warranty provided as part of the Company’s customary business practice. The extended warranty is a separate performance obligation and meets the criteria for over-time revenue recognition as the customer simultaneously receives and consumes the benefit of the services as the Company performs. Similar to PCS, the extended warranty is representative of a stand-ready obligation, provided on a when-and-as Contracts with multiple performance obligations For contracts which contain multiple performance obligations, the Company allocates revenue to each distinct performance obligation based on the standalone selling price (“SSP”). As prices vary from customer to customer based on customer relationship, volume discount, and contract type, the Company has determined that the estimated sales price of its product is not directly observable. Accordingly, the Company estimates SSP using the expected cost plus a margin approach. The Company considers all reasonably available information in making these estimate including forecasted costs of developing and supplying each performance obligation, historical margins for products previously sold and adjustments for factors, such as current business priorities, class of customer, and market conditions. Disaggregation of revenues The Company disaggregates its revenue from contracts with customers by timing of transfer of goods or services to customers (point in time or over-time) and geographic region based on the customer’s location, as it believes it best depicts how the nature, amount, timing and uncertainty of its revenue and cash flows are affected by economic factors. Total revenue based on the disaggregation criteria described above is as follows (in thousands): For the Years Ended 2021 2020 Point in time $ 3,859 $ 2,747 Over time 69 268 Total net sales $ 3,928 $ 3,015 Deferred revenue Revenue is deferred when the Company has the right to invoice in advance of services being provided. The upfront payment pattern relative to the delivery of software licenses and its related support and maintenance and associated revenue recognition generates deferred revenue. Current and non-current The deferred revenue balance, as shown below, excludes customer deposits of $1.0 million and $1.1 million as of December 31, 2021 and 2020, respectively, primarily related to products and services which were billed in advance. Standard payment terms to customers range from 30 to 60 days; however, payment terms and conditions in the Company’s customer contracts may vary. In most cases, customers prepay for services in advance of delivery of the related services. The following provides information about deferred revenue from contracts with customers as of December 31, 2021, 2020 and 2019 (in thousands): As of December 31, 2021 2020 2019 Deferred revenue, current $ 72 $ 67 $ 226 Deferred revenue, non-current 4 3 — Total deferred revenue $ 76 $ 70 $ 226 Transaction price allocated to remaining performance obligations As of December 31, 2021 and 2020, the aggregate amount of the transaction price allocated to remaining performance obligations was immaterial. Contract assets Under Topic 606, contract assets include amounts related to the contractual right to consideration for both completed and partially completed performance obligations that may not have been invoiced. The contract assets are transferred to receivables when the rights become unconditional. Contract assets are expected to be included in prepaid expenses and other current assets in the accompanying consolidated balance sheets. There were no contract assets as of December 31, 2021 and 2020. Deferred commission costs The Company applies the practical expedient to expense contract related costs as incurred if the expected benefit period is one year or less. This applies to all the sales commissions paid as the majority of the Company’s contracts have a benefit period of not more than one year. Deferred transaction costs The Company capitalizes certain advisory, legal, accounting, and other professional fees that are directly associated with the Merger Agreement (per Note 1). After the consummation of the Business Combination, the acquisition-related transaction costs are accounted for as equity issuance costs. As of December 31, 2021 and 2020, the Company had $3.4 million and $0, respectively, of deferred transaction costs included in other long-term assets on the consolidated balance sheets. Shipping and handling costs and certain taxes Taxes collected from customers and remitted to governmental authorities are not included in net sales. Shipping and handling costs associated with outbound freight are accounted for as a fulfillment cost and are included in both net sales (for amounts invoiced to customers) and cost of goods sold in the accompanying consolidated statements of operations. (i) Property and Equipment Property and equipment are stated at cost less accumulated depreciation and amortization. When assets are retired or disposed of, the cost and accumulated depreciation are removed from the accounts, and any resulting gain or loss is included in the current period. Repair and maintenance costs are expensed as incurred. Depreciation and amortization are calculated using the straight-line method over the following estimated useful lives of the assets: Useful Lives Machinery and equipment 5-10 Furniture and fixtures 5-7 Computer equipment 3-5 Computer software 3 years Leasehold improvements Lesser of the useful life or the remaining term of the lease (j) Cost of Goods Sold Cost of goods sold includes actual cost of material, labor and manufacturing overhead incurred for revenue-producing units shipped, and includes associated warranty costs, and other costs. (k) Research and Development Research and development costs are expensed as incurred and consist primarily of personnel and related costs for product development activities. Research and development costs also includes professional fees payable to third-parties, license and subscription fees for development tools and pre-production (l) Collaborative Arrangements The Company has entered into multiple collaborative arrangements that provide the Company with varying rights to develop products together with its collaborative partners. Cost reimbursements paid to the collaborative partners are recognized as incurred and included in research and development expense in the accompanying consolidated statements of operations. Terms of the collaboration agreements may require the Company to make payments based upon the achievement of certain milestones. Upfront and milestone payments payable by the Company to collaborative partners are recorded as prepaid expenses and other current assets in the accompanying consolidated balance sheets and are recognized as a research and development expenses as the services are performed. During the years ended December 31, 2021 and 2020 the Company was working under collaborative arrangements with three separate suppliers. Amounts related to the collaborative arrangements are classified in the accompanying consolidated statements of operations as research and development expense in the amounts of $0.2 million and $0.8 million for the years ended December 31, 2021 and 2020, respectively. (m) Advertising and Promotional Expenses Advertising and promotional costs are expensed as incurred and included in sales and marketing expense in the accompanying consolidated statements of operations. Advertising costs totaled $0.7 million and $0.5 million for the years ended December 31, 2021 and 2020, respectively. (n) Income Taxes Income taxes are accounted for under the asset-and-liability are more likely than not to be sustained. Recognized income tax positions are measured at the largest amount that is greater than 50% likely of being realized. Changes in recognition or measurement are reflected in the period in which the change in judgment occurs. The Company recognizes accrued interest and penalties, if any, related to unrecognized tax benefits in tax expense. (o) Impairment of Long-Lived Assets Long-lived assets, such as property and equipment subject to amortization, are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. If circumstances require a long-lived asset or asset group be tested for possible impairment, the Company first compares undiscounted cash flows expected to be generated by that asset or asset group to its carrying value. If the carrying value of the long-lived asset or asset group is not recoverable on an undiscounted cash flow basis, an impairment is recognized to the extent that the carrying value exceeds its fair value. Fair value is determined through various valuation techniques including discounted cash flow models, and quoted market values, as considered necessary. There were no impairment charges for the years ended December 31, 2021 and 2020. (p) Stock-Based Compensation The Company recognizes stock-based compensation expense over the requisite service period on a straight-line basis for all share-based payments that are expected to vest to employees, non-employees, non-employees (q) Fair Value Measurement The Company utilizes valuation techniques that maximize the use of observable inputs and minimize the use of unobservable inputs to the extent possible. The Company determines fair value based on assumptions that market participants would use in pricing an asset or liability in the principal or most advantageous market. When considering market participant assumptions in fair value measurements, the following fair value hierarchy distinguishes between observable and unobservable inputs, which are categorized in one of the following levels: • Level 1 inputs: Unadjusted quoted prices in active markets for identical assets or liabilities accessible to the reporting entity at the measurement date. • Level 2 inputs: Other than quoted prices included in Level 1 inputs that are observable for the asset or liability, either directly or indirectly, for substantially the full term of the asset or liability. • Level 3 inputs: Unobservable inputs for the asset or liability used to measure fair value to the extent that observable inputs are not available, thereby allowing for situations in which there is little, if any, market activity for the asset or liability at the measurement date. The following table sets forth the Company’s financial assets and liabilities that were measured at fair value, on a recurring basis (in thousands): December 31, 2021 Level 1 Level 2 Level 3 Total Financial Assets Cash and cash equivalents: Money market funds $ 26,031 $ — $ — $ 26,031 Total assets $ 26,031 $ — $ — $ 26,031 Financial Liabilities Debt derivative liabilities $ — $ — $ 26,189 $ 26,189 Total liabilities $ — $ — $ 26,189 $ 26,189 December, 31, 2020 Level 1 Level 2 Level 3 Total Financial Assets Cash and cash equivalents: Money market funds $ 7,515 $ — $ — $ 7,515 Total assets $ 7,515 $ — $ — $ 7,515 Financial Liabilities Debt derivative liabilities $ — $ — $ 5,021 $ 5,021 Total liabilities $ — $ — $ 5,021 $ 5,021 The fair value of accounts receivable, accounts payable, and accrued expenses approximated their carrying values as of December 31, 2021 and 2020, due to their short-term nature. The Company records long-term debt and long-term debt due to related parties on an amortized cost basis. The fair value of the Convertible Notes was $99.0 million as of December 31, 2021. The carrying value of the Convertible Notes of $105.8 million, net of $38.6 million of unamortized debt discount and issuance costs, was recorded as long-term debt totaling $16.2 million, long-term debt - related party totaling $16.7 million, and short-term debt totaling $34.3 million as of December 31, 2021. The fair value of the Convertible Notes was $45.1 million as of December 31, 2020. The carrying value of the Convertible Notes of $51.3 million, net of $11.9 million of unamortized debt discount and issuance costs, was recorded as long-term debt totaling $33.4 million and long-term debt - related party totaling $6.0 million as of December 31, 2020. Level 3 instruments consist solely of the Company’s embedded derivative in the Company’s notes payable. The Company classifies its financial instruments within Level 3 of the fair value hierarchy due to lack of market data. See “Note 12 — Borrowing Arrangements” for details on the valuation of the embedded derivative in the convertible notes. There were no transfers between Level 1, Level 2 or Level 3 fair value hierarchy categories of financial instruments for the years ended December 31, 2021 and 2020. (r) Net Loss Per Share of Common Stock 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. Diluted earnings per share attributable to common stockholders adjusts basic earnings per share for the potentially dilutive impact of stock options, restricted stock units, and convertible notes. As the Company has reported losses for all periods presented, all potentially dilutive securities including stock options, restricted stock units, common stock warrants and convertible notes, are antidilutive and accordingly, basic net loss per share equals diluted net loss per share. (s) Derivative Liabilities The Company evaluates the embedded conversion features within its convertible debt instruments under ASC 815-15 815-40 re-valued non-current net-cash re-measurement (t) Recently Adopted Accounting Pronouncements In August 2018, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) 2018-15, Intangibles — Goodwill and Other — Internal Use Software (Subtopic 350-40): 350-40. 2018-15, In December 2019, the FASB issued ASU 2019-12, Income Taxes (Topic 740): Simplifying the Accounting for Income Taxes 2019-12 2019-12 2019-12 2019-12 (u) Accounting Pronouncements Not Yet Adopted In February 2016, the FASB issued ASU 2016-02, Leases (Topic 842) right-to-use The adoption of Topic 842 resulted in recognition of operating lease right-of-use In June 2016, the FASB issued ASU 2016-13, Financial instruments — Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments 2016-13 2016-13 In August 2020, the FASB issued ASU 2020-06, Debt — Debt with Conversion and Other Options (Subtopic 470-20) 815-40): if-converted 2020-06 In May 2021, the FASB issued ASU 2021-04, Earnings Per Share (Topic 260), Debt — Modifications and Extinguishments (Subtopic 470-50), 815-40): |