Astronomers have captured one of the most detailed views of a young star taken to date, and revealed an unexpected companion in orbit around it.