Cycling caps are made in many fabrics ,including wool, that is what is ideal under a helmet..
I have a Sou-Wester hat as part of my rain gear I lose heat from my head to the cold rain , so I wear a Beret under it.
I don't live where you do.. Or ride like you.
....