Correction to: Nature Medicine https://doi.org/10.1038/s41591-024-03204-2, published online 20 August 2024.

In the version of the article initially published, Rebecka Bergström’s name appeared incorrectly (as R. Bergström) and has now been amended in the HTML and PDF versions of the article.