Adapted from something I saw on the web...
I had to scratch my head until I understood C1: it bootstraps Q1's collector load (R2) impedance, turning it effectively into a current source. Gain is accordingly greatly increased. G = ~220 @ 40KHz.
+3.3V --- | .-------+-------. | | 5K R1 C1 |/ Q2 | 100n .------| 2n5089 +---||-|--. |>. | | | | 15k R2 | '-----+------> | | | C2 +------' R3 820R 10n |/ Q1 || |>. | | | | | R4 470R | === | | | | === '-----R5------' 220k
R3-R4 set the d.c. output level.
Gain is component-sensitive, but the bootstrap is a cute technique. That with feedback could stabilize the gain.