Nasa’s James Webb Space Telescope has detected and ‘weighed’ a galaxy that existed about 600 million years after the big bang.