have a look at this this topic on the forum the Problem sounds quite similar just different librem device and I guess it’s probably also the DNS.
you could check that quite easily via the terminal by ping 1.1.1.1 if that works you can be quite confident that it’s the DNS.