I was on the verge of buying the phone librem5 but now I'm really hesitant

Some warranty/return info here:

Generally, if you want to return your laptop for repair, email support@puri.sm
There’s a pinned thread in the forums for how to contact Purism with various requests here:

There’s also the wiki, which has some info, but is definitely fairly barebones at the moment

https://wiki.puri.sm/