I keep my rpi in a pelican case that I modified to include an opening port for the NMEA connection. It gets all its power/data from the single connection which has a mechanical connection as well.
I have over 5000 nautical miles logged (thanks to a very nifty influxdb integration as part of open plotter) using this set up since ~2021, and so far it’s held up better than I could have guessed. I keep a spare pi and sds on board but have never actually needed them. My use case is long distance races, mostly in sub tropics/temperate areas, and I’ve had limited exposure to really hot air temp (say 90F and up in the tropics which is where I could see SDs starting to fail)