If the lining isn't removable you can gently clean the entire helmet in the bath.
DO NOT do this while you are in the bath because a large quantity of dead flies will come out of the vents and turn the bathwater into a soup.
Don't ask me how I know ...