For the year ended December 31, 2021, we had net income of $19,597,699, which consists of the change in fair value of warrant liability of $21,686,000, interest earned on marketable securities held in our trust account of $141,952 and an unrealized gain on marketable securities held in our trust account of $4,753 offset by operating and formation costs of $2,235,006, which are comprised primarily of fees for legal, financial reporting, accounting and auditing compliance, due diligence, consulting and franchise taxes.
For the period from July 7, 2020 (inception) through December 31, 2020, we had a net loss of $2,700,955, which consists of formation and operating costs of $2,993,724, change in fair value of warrant liability of $1,652,267 and transaction costs associated with initial public offering of $1,477,685 offset by interest income on marketable securities held in our trust account of $103,994 and an unrealized gain on marketable securities held in our trust account of $14,193.
Liquidity and Capital Resources
Until the consummation of our initial public offering, our only source of liquidity was an initial purchase of Class B common stock by our sponsor and loans from our sponsor, as described in Note 5. Related Party Transactions to our financial statements.
On September 18, 2020, we consummated the initial public offering of 41,400,000 units at a price of $10.00 per units, which includes the full exercise by the underwriters of the over-allotment option to purchase an additional 5,400,000 units , generating gross proceeds of $414,000,000. Simultaneously with the closing of our initial public offering, we consummated the sale of 6,853,333 private placement warrants at a price of $1.50 per private placement warrant in a private placement to our sponsor, generating gross proceeds of $10,280,000.
For the year ended December 31, 2021, cash used in operating activities was $1,186,212. Net income of $19,597,699 was attributable to the change in fair value of warrant liability of $21,686,000 and interest earned on marketable securities held in our trust account of $141,952 and an unrealized gain on marketable securities held in our trust account of $4,753 offset by changes in operating assets and liabilities, which provided $1,048,794 in cash from operating activities.
For the period from July 7, 2020 (inception) through December 31, 2020, cash used in operating activities was $501,235. Net loss of $2,700,955 was affected by interest earned on marketable securities held in our trust account of $103,994, an unrealized gain on marketable securities held in our trust account $14,193, change in fair value of warrant liability of $1,652,267, transaction costs associated with initial public offering of $1,477,685, warrant liability in excess of purchase price of private warrants of $2,535,733, and changes in operating assets and liabilities, which used $43,244 of cash from operating activities.
As of December 31, 2021, we had cash and marketable securities held in our trust account of $414,127,265. We intend to use substantially all of the funds held in our trust account, including any amounts representing interest earned on our trust account to complete our Business Combination. We may withdraw interest to pay franchise and income taxes. During the year ended December 31, 2021, cash withdrawn from our trust account to pay franchise and income taxes totaled $137,627. To the extent that our capital stock or debt is used, in whole or in part, as consideration to complete our Business Combination, the remaining proceeds held in the trust account will be used as working capital to finance the operations of the target business or businesses, make other acquisitions and pursue our growth strategies.
As of December 31, 2021, we had cash of $584,117 outside of our trust account. We intend to use the funds held outside our trust account primarily to identify and evaluate target businesses, perform business due diligence on prospective target businesses, travel to and from the offices, plants or similar locations of prospective target businesses or their representatives or owners, review corporate documents and material agreements of prospective target businesses, and structure, negotiate and complete a Business Combination.
In order to fund working capital deficiencies or finance transaction costs in connection with a Business Combination, we intend to borrow additional amounts under the Second Promissory Note, under which $1,750,000 remained available to be drawn as of December 31, 2021. The Second Promissory Note is non-interest bearing and payable on the earlier of (i) September 18, 2022 or (ii) the consummation of our initial Business Combination.
If we fully draw down on the Second Promissory Note and require additional funds for working capital purposes, the sponsor, an affiliate of the sponsor, or our officers and directors may, but are not obligated to, loan us such additional funds as may be required. If we complete a Business Combination, we would repay such additional loaned amounts, without interest, upon consummation of the Business Combination. In the event that a Business Combination does not close, we may use a portion of the working capital held outside the trust account to repay such additional loaned amounts but no proceeds from our trust account would be used for such repayment. Up to $1,500,000 of such additional loans (if any) may be convertible into warrants, at a price of $1.50 per warrant at the option of the lender. The warrants would be identical to the private placement warrants, including as to exercise price, exercisability and exercise period. Except for the foregoing, the terms of such additional loans (if any) have not been determined and no written agreements exist with respect to such loans.
We do not believe we will need to raise additional funds in order to meet the expenditures required for operating our business. However, if we do need to raise additional capital and are unable to, then we may be required to take additional measures to conserve liquidity, which could include, but not necessarily include or be limited to, curtailing operations, suspending the pursuit of a potential transaction, and reducing overhead expenses. We cannot provide any assurance that new financing will be available to us on commercially acceptable terms, if at all.