If you quit after a teammate first leaves a ranked match, you still get a cooldown for Ranked queue as well. This has to be an oversight from the devs. I’ve seen other people complain about this on Reddit and Steam forums.
There is another report of this bug in this forum, but @SavageEmpire566 hasn’t commented on it being tracked yet.