Impacts of electrolyzer design, operation, and measurement on ammonia electrosynthesis in aqueous and non-aqueous media