The cosmic carbon observatory