Airbnb’s successful IPO follows a difficult year for the homesharing company, which has had to readjust in the pandemic.