In this situation I reasoned as follows.
What does partner have? Quite likely, from opps silence, he has spades and a good opening. Given my void, possibly even 6 spades. 7 spades is out of the question because he would have balanced 3S or 4S on that, so the suit rates to have 2-3 losers.
What is going to happen if I bid 2m? Pard is going to bid spades and I'm stuck. If I now insist with 3C or 3D, he'll definitely play me for some values and bid to what seems to be a hopeless game. I'd have to pass 2S and that rates to be a bad contract.
How about passing? Clearly not a textbook pass, but the situation isn't textbook either. My hand is next to worthless in offense, but it's not so bad in defense. We might miss a game, but given the misfit, game would require quite a monster hand in pard. 1H doubled might make, the worst-case-scenario being at most 1 overtrick. Not good, but since this is imps it shouldn't cost much, and sure beats 2S with a couple of vulnerable undertricks. Meanwhile, 1H doubled can go down a trick or two, and that should be an excellent score. I think I'll pass.
Right or wrong, that turned out to be the right move, for pard had:
♠ KQTxxx
♥ A
♦ AJx
♣ xxx
As the cards laid, declarer is booked for 1 down. He actually went two down, (mis)playing me for AJxxx of trumps