Canva cuts or relocates 1,271 jobs, 22 percent of staff