Snapchat parent Snap is laying off 10 percent of employees