hello daniel,
when the apple says the logic board to be replaced - they think buy a new one or !#^& off (they never know what happend inside a logic board). Send a phone to a good repair shop in your area or use reputable one in the world (it will be half the price anyway). As a last resort, you can sell a damaged phone - these faulty ones keep the price well. You can buy a different model. XS-Max is twice cheaper and does not differ much from 11-max.