Pinterest shares soar 18% on earnings beat, strong revenue growth