PubMatic ropes in its first general counsel as it gets IPO-ready