I'm not quite so "you gotta have a new one, now!". Yes, your helmet is compromised. So for a specific hit, it is not as good. The odds that you will need that helmts's protection in the next say 6 months - not very high. Multiply those odds and you get a very small number.
I approach issues like this like I do bends to traditional steel forks. Re-bend the fork and order/keep an eye out for a replacement. Do small damage to the helmet, keep wearing it and have your eyes out for a new one; either the same on sale if you like it or a step up that strikes you. (I wore my original Bell which took a very hard hit until I received the replacement from Bell.)
I'm still wearing the POC I crashed wearing two weeks ago. Dazed myself/slight concussion. No visible damage to the helmet. (I have suffered a major TMI and can get concussions simply from hard body slams, no head contact needed.) The helmet is 5 years old and has served me well. So my eyes are open for the next one.
Ben