Correction to: Nature Human Behaviour https://doi.org/10.1038/s41562-025-02176-8, published online 12 May 2025.

In the version of the article initially published, the x axis of the top graph in Fig. 2 showed scaled age and has now been corrected to show age in months in the HTML and PDF versions of the article.