CarGurus posts smaller Q2 profit on higher revenue

Vehicle marketplace company CarGurus posts smaller Q2 profit.