An apparatus comprises a first substrate and a second substrate. The first substrate includes an optoelectronic device and a matching circuit. The second substrate includes a driver circuit. A frequency response of the optoelectronic device is changed by the matching circuits. The first substrate is coupled to the second substrate via respective bond pads from the first and second substrates such that the matching circuit is interposed between the optoelectronic device and the driver circuit.