Rapid urbanisation and the need for new housing have pushed biodiversity net gain higher up the agenda in the UK. Lara Dresser reports.