Need to reinstall Qubes OS and reconfigure Librem Key

About 3 months ago I bought a Librem 14 with QubesOS installed.

It recently started displaying the message invalid key when using the Librem Key and with or without would drop to a recovery shell.

I have a Librem Key, a Pureboot Bundle USB, and a Qubes OS USB.

I have tried to look up how to completely reset the OS like it was when it was sent to me. This means I want to reset up the Librem Key and have a fresh install of Qubes OS as it was when Puri.sm sent it to me.

However, I cannot find a step-by-step guide on how to do this.

Could you point me in the correct direction?

Nothing online has an updated howto and Puri.sm wiki doesn’t have updated information either.