Canva to cut 1,271 jobs, about 22% of its workforce