Thanks to all of you. Shortly after submitting my question, I started to see other strange behaviour on the Pi that (after consulting online) is also linked to failure of the SD card.
I replaced it with a new SD card (my setup is minimal so it didn't take long to reconfigure) and now all is well.