Shares of Pinterest popped in extended trading Tuesday after the company reported first-quarter results.