Pinterest pays $22.5 million to settle gender discrimination lawsuit by former female executive