For the three months ended June 30, 2022, we had net income of $3,090,719, which consists of a $3,466,666 gain on the change in the fair value of warrant liabilities, $563,376 of interest income earned on marketable securities held in the Trust Account and a $70,348 gain on the change in the fair value of the forward purchase agreements, partially offset by $901,356 of operating costs and $108,315 of income tax expense. For the three months ended June 30, 2021, we had net income of $371,144, which consists of a $1,426,910 gain on the change in the fair value of warrant liabilities and $15,376 of interest income earned on marketable securities held in the Trust Account, partially offset by $1,071,142 of operating costs.
For the six months ended June 30, 2022, we had net income of $15,552,100, which consists of a $17,863,972 gain on the change in fair value of warrant liabilities and $603,786 of interest income earned on marketable securities held in the Trust Account, partially offset by $2,390,442 of operating costs, a $416,901 loss on the change in the fair value of the forward purchase agreements and $108,315 of income tax expense. For the six months ended June 30, 2021, we had a net loss of $1,099,292, which consists of $1,254,607 of operating costs and $782,812 of offering costs allocated to warrant liabilities, partially offset by a $914,910 gain on the change in the fair value of warrant liabilities and $23,217 of interest income earned on marketable securities held in the Trust Account.
Liquidity and Capital Resources
As of June 30, 2022, we had $476,948 in our operating bank account and negative working capital of $(4,313,763), driven by accrued expenses. As of June 30, 2021, we had $1,739,367 in our operating bank account, and working capital of $2,135,356.
Our liquidity needs up to the completion of our IPO on March 4, 2021 had been satisfied through a payment from our Sponsor of $25,000 for 7,187,500 shares (the “Founder Shares”) of our Class B common stock and an aggregate of $212,487 in advances from a related party. These advances were repaid and are no longer available.
On March 4, 2021, we consummated our IPO of 42,000,000 units (the “Units”) and, on April 14, 2021, we issued an additional 500,000 Units in connection with the underwriters’ partial exercise of their over-allotment option. The Units were sold at a price of $10.00 per Unit, generating aggregate gross proceeds of $425,000,000. Simultaneously with the closing of our IPO, we consummated the sale of 12,400,000 warrants (the “Private Placement Warrants”) to our Sponsor and, on April 14, 2021, simultaneously with the closing of the underwriters’ over-allotment option, we issued an additional 100,000 Private Placement Warrants to our Sponsor. The Private Placement Warrants were sold at a price of $1.00 per Private Placement Warrant, generating aggregate gross proceeds of $12,500,000.
Following the IPO, the partial exercise of the over-allotment option and the sale of the Private Placement Warrants, a total of $425,000,000 of the net proceeds from the sale of the Units and Private Placement Warrants was deposited in a U.S.-based trust account (the “Trust Account”) established for the benefit of the Company’s public stockholders maintained by American Stock Transfer & Trust Company, acting as trustee. Transaction costs of the IPO (including costs related to the closing of the underwriters’ over-allotment option) amounted to $24,012,335 consisting of $8,500,000 of underwriting discounts and commissions, $14,875,000 of deferred underwriting discounts commissions and $637,335 of other offering costs. In addition, as of June 30, 2022, $476,948 of cash was held outside of the Trust Account and is available for working capital purposes.
We intend to use substantially all of the funds held in the Trust Account, including any amounts representing interest earned on the Trust Account, which interest shall be net of taxes payable and excluding deferred underwriting commissions, to complete our Business Combination. We may make permitted withdrawals from the Trust Account to pay our taxes, including franchise taxes and income taxes. 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.
We intend to use funds held outside the 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, structure, negotiate and complete a Business Combination, and to pay taxes to the extent the interest earned on the Trust Account is not sufficient to pay our taxes.
On March 29, 2022, we issued an unsecured promissory note to the Sponsor, pursuant to which the Sponsor may provide up to $1,500,000 to the Company as a working capital loan (the “Working Capital Loan”). The Working Capital Loan does not bear interest