I’ve had a few of these over the last few days, this is what I’ve done to help.
Hopefully it solves it for you too
Quit SketchUp and Layout completely and delete the WebCache folder from inside here:
~/Library/Application Support/SketchUp 2022/
You have to go to your finder on Mac. Go to the “Go” tab, past that above link and delete the Web Cache folder.
Restart your Mac and then try signing into SketchUp again