RecruitingPhase 3Drug trialAMAZE 1: A Research Study Investigating How Well the Medicine NNC0487-0111 Helps People With Excess Body Weight Lose WeightThe purpose of this clinical study is to find out if NNC0487-0111 is safe and effective for treating people who have excess body weight. There are 2 study treatments in this study taken as injections under the skin once a week. Participants will either get NNC0487-0111 (the treatment being tested) or Placebo (a treatment that has no active medicine in it). Which treatment participants get is decided by chance.