General and administrative expenses were $3.0 million for the three months ended June 30, 2024, compared to $3.7 million for the three months ended June 30, 2023. Non-cash share-based compensation expenses and personnel-related expenses decreased by $0.4 million and $0.1 million, respectively, primarily due to a reduction in general and administrative headcount, which occurred in the second half of 2023. Professional and consultant fees decreased by $0.1 million, primarily due to lower legal fees. Insurance, facilities, fees and other related costs decreased by $0.1 million, primarily due to reduced directors and officers insurance premiums and reduced office lease costs.
Interest income, net
Interest income, net was $0.8 million for the three months ended June 30, 2024, compared to $0.7 million for the three months ended June 30, 2023. The increase in interest income was primarily due to higher interest yields on our investments in 2024. Interest income, net includes interest income from investments, net of interest on borrowings associated with our Innovation Credit from Rijksdienst voor Ondernemend Nederland and lease interest expense.
Foreign currency exchange gain (loss), net
For the three months ended June 30, 2024 and 2023, foreign currency exchange gain increased by $0.1 million, from a gain of $0.2 million during the three months ended June 30, 2023 to a gain of $0.3 million during the three months ended June 30, 2024. This increased gain was due to the impact of the fluctuation of the USD currency rate compared to the Euro on transaction gains and losses on cash and investments and other transactions denominated in USD held and occurring in the Euro functional currency entity.
Comparison of the Six Months Ended June 30, 2024 and 2023 (unaudited):
Revenue from contracts with customers
Our revenue from contracts with customers was $7.0 million and $6.4 million for the six months ended June 30, 2024 and 2023, respectively. In connection with the Pfizer Agreement, we recognized $7.0 million in revenue for the six months ended June 30, 2024, primarily related to the achievement by Pfizer of a clinical development milestone for PF-08046052.
In connection with the Pfizer Agreement, we recognized $3.9 million in revenue for the six months ended June 30, 2023, related to reimbursement for research activities and delivery of initial supply. In connection with the Janssen Agreement, we recognized $2.5 million in revenue for the six months ended June 30, 2023, related to a triggered milestone payment.
Cost of providing services and sales of goods
Our cost of providing services and sales of goods was zero and $3.3 million for the six months ended June 30, 2024 and 2023, respectively. The $3.3 million for the six months ended June 30, 2023 related to the cost of the initial supply delivery and related stability studies. Of this amount $0.8 million related to costs of services related to stability studies for the product materials and $2.5 million related to costs of product materials.