Company joins other tech firms, including Snap, Twitter, that lay off employees amid inflation, recession fears