If you commit shirk in your mind but you believe in your faith and in Allah and you only follow Allah will you be held accountable for those thoughts
In my case I keep having annoying thoughts that say the name Jesus. But I know it’s wrong to say this because it’s shirk and I know only Catholics and christans say this because they take Jesus as their lord but I don’t and I only believe in Allah as my lord