I feel similar question has been asked before, but I couldn't find it. I'm writing an answer any way:
- Create a text layer and apply a thin inner Bevel like this (Uncheck global light). Choose bright and dark green colors for highlights and shadow. Let's call it Layer 1.

Duplicate the layer and press Cntl + Click to make a selection of text. Contract the selection a bit by Select > Modify > Contract
and then create a new solid layer with same fill color as text. Let's call it Layer 2 and it should be on to of Layer 1
Apply the same Bevel to it, but increase the size a bit.
Infact, experiment with the sizes of both of Layers' Bevels. You'll
notice that you can get similar effect when you change settings like
size and technique of Bevel (Chisel hard/soft) and colors of
highlights/shadows.

- Group both layers and convert to smart object and then apply a bright shadow in top right side of group and dark green shadow in bottom left side. Create layer styles (
Layer > Layer Style > Create Layer
) from the effects and mask unnecessary shadows if you have to.


Layer panel screenshots:


Note: In the step 2, when you create selection and contract it, some of the corners of the font can become a bit round. If you want, you can fix it by manually fixing the masked area and making those corners sharp.