Librem 5 is using mobile data instead of wifi when both are enabled.

$ sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    600    0        0 wlan0
0.0.0.0         10.83.62.217    0.0.0.0         UG    1050   0        0 wwan0
10.83.62.208    0.0.0.0         255.255.255.240 U     1050   0        0 wwan0
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlan0

The route over cellular already has a higher metric over WiFi. You may end up routing things over cellular’s IPv6 when on a IPv4-only WiFi network though.