Correction to: Nature Astronomy https://doi.org/10.1038/s41550-024-02228-5, published online 22 April 2024

In the version of the article initially published, the text in Fig. 2 now reading “O2 (21%)” originally read “CO2 (21%)” and has now been amended in the HTML and PDF versions of the article.