Correction to: Nature Astronomy https://doi.org/10.1038/s41550-022-01638-7, published online 16 May 2022.

In the version of this article initially published, page or article numbers were missing from references 54, 67, 71, 73, 77, 78, 80, 82, 88, 92, 107, 109, 112, 113, 118, 120, 121, 124, 127, 129, 133, 136, 138, 148, 150, 151, 153, 154, 156, 159, 161, 168, 171–175, 177, 179, 182, 183, 185, 187, 191, 193, 194, 202 and 206. These have now been included in the HTML and PDF versions of the article.