Correction to: Nature Photonics, published online 18 September 2023.

In the version of the article initially published, there was an error in the scale of the y-axis labels in Fig. 3b, now reading “10–12 … 10–9”; it previously read “10–10 … 10–5”. The figure has been corrected in the HTML and PDF versions of the article.